Skip to content

Commit

Permalink
Fix hardcoded path for dynamically generated c file
Browse files Browse the repository at this point in the history
  • Loading branch information
cedelavergne-ledger committed Nov 16, 2023
1 parent 3f637f6 commit b33649e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -138,17 +138,14 @@ else
DEFINES += PRINTF\(...\)=
endif

AUTOGEN_SRC := src/txnTypeLists.c
AUTOGEN_OBJ := $(AUTOGEN_SRC:src/%.c=obj/%.o)
AUTOGEN_SRC := $(PWD)/src/txnTypeLists.c

SOURCE_FILES += $(AUTOGEN_SRC)

.PHONY: realclean clean

all: default

$(AUTOGEN_OBJ): src/authAndSignTxn.c $(AUTOGEN_SRC)

$(AUTOGEN_SRC): createTxnTypes.py txtypes.txt
python ./createTxnTypes.py > $@

Expand Down

0 comments on commit b33649e

Please sign in to comment.