Skip to content

Commit 1a3b0d5

Browse files
committed
Fixed dependency problem for qstrdefs.generated.h
The problem manifests itself in make 4.0 I also fixed the LINK message when linking the final executable for unix and unix-cpy.
1 parent 449dd0a commit 1a3b0d5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

py/mkrules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ ifneq ($(PROG),)
6565
all: $(PROG)
6666

6767
$(PROG): $(OBJ)
68-
$(ECHO) "LINK $<"
68+
$(ECHO) "LINK $@"
6969
$(Q)$(CC) -o $@ $(OBJ) $(LIB) $(LDFLAGS)
7070
ifndef DEBUG
7171
$(Q)strip $(PROG)

py/py.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ PY_O = $(addprefix $(PY_BUILD)/, $(PY_O_BASENAME))
7878

7979
# Adding an order only dependency on $(PY_BUILD) causes $(PY_BUILD) to get
8080
# created before we run the script to generate the .h
81-
$(PY_BUILD)/qstrdefs.generated.h: | $(PY_BUILD)
81+
$(PY_BUILD)/qstrdefs.generated.h: | $(PY_BUILD)/
8282
$(PY_BUILD)/qstrdefs.generated.h: $(PY_QSTR_DEFS) $(QSTR_DEFS) $(PY_SRC)/makeqstrdata.py
8383
$(ECHO) "makeqstrdata $(PY_QSTR_DEFS) $(QSTR_DEFS)"
8484
$(Q)python $(PY_SRC)/makeqstrdata.py $(PY_QSTR_DEFS) $(QSTR_DEFS) > $@

0 commit comments

Comments
 (0)