Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
Makefile: Use APP_CUSTOM_BUILD_DEPENDENCIES instead of DEP_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier Chapron committed Mar 21, 2024
1 parent fd8ec35 commit 14185d2
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -185,18 +185,14 @@ load: all
delete:
python3 -m ledgerblue.deleteApp $(COMMON_DELETE_PARAMS)

# import generic rules from the sdk
include $(BOLOS_SDK)/Makefile.rules

listvariants:
@echo VARIANTS APP tezos_wallet tezos_baking

# Define DEP_DIR to keep compatibility with old SDK
ifeq ($(DEP_DIR),)
DEP_DIR := dep
endif

# Generate delegates from baker list
src/delegates.h: tools/gen-delegates.sh tools/BakersRegistryCoreUnfilteredData.json
bash ./tools/gen-delegates.sh ./tools/BakersRegistryCoreUnfilteredData.json
$(DEP_DIR)/to_string.d $(DEP_DIR)/app/src/to_string.d: src/delegates.h

APP_CUSTOM_BUILD_DEPENDENCIES = src/delegates.h

# import generic rules from the sdk
include $(BOLOS_SDK)/Makefile.rules

0 comments on commit 14185d2

Please sign in to comment.