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.
pull/225/head
Dave Hylands 2014-01-25 08:55:31 -08:00
rodzic 449dd0a69e
commit 1a3b0d5fed
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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)

Wyświetl plik

@ -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) > $@