Merge pull request #225 from dhylands/fix-make-dep
Fixed dependency problem for qstrdefs.generated.h
This commit is contained in:
commit
8fcf7b858d
|
@ -65,7 +65,7 @@ ifneq ($(PROG),)
|
|||
all: $(PROG)
|
||||
|
||||
$(PROG): $(OBJ)
|
||||
$(ECHO) "LINK $<"
|
||||
$(ECHO) "LINK $@"
|
||||
$(Q)$(CC) -o $@ $(OBJ) $(LIB) $(LDFLAGS)
|
||||
ifndef DEBUG
|
||||
$(Q)strip $(PROG)
|
||||
|
|
2
py/py.mk
2
py/py.mk
|
@ -78,7 +78,7 @@ PY_O = $(addprefix $(PY_BUILD)/, $(PY_O_BASENAME))
|
|||
|
||||
# Adding an order only dependency on $(PY_BUILD) causes $(PY_BUILD) to get
|
||||
# created before we run the script to generate the .h
|
||||
$(PY_BUILD)/qstrdefs.generated.h: | $(PY_BUILD)
|
||||
$(PY_BUILD)/qstrdefs.generated.h: | $(PY_BUILD)/
|
||||
$(PY_BUILD)/qstrdefs.generated.h: $(PY_QSTR_DEFS) $(QSTR_DEFS) $(PY_SRC)/makeqstrdata.py
|
||||
$(ECHO) "makeqstrdata $(PY_QSTR_DEFS) $(QSTR_DEFS)"
|
||||
$(Q)python $(PY_SRC)/makeqstrdata.py $(PY_QSTR_DEFS) $(QSTR_DEFS) > $@
|
||||
|
|
Loading…
Reference in New Issue