Skip to content

Commit

Permalink
add config.h deps to Makefile
Browse files Browse the repository at this point in the history
I had the case of a missing pbcversion.h but a generated config.h.
Make it clear that these need to be generated.
  • Loading branch information
Reini Urban committed Dec 28, 2012
1 parent 6d58b62 commit fd9dbbc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/gen/makefiles/root.in
Original file line number Diff line number Diff line change
Expand Up @@ -987,6 +987,11 @@ $(INSTALLABLEPARROT) : $(FRPTWO_DIR)/main$(O) $(GEN_HEADERS) $(LIBPARROT) \

$(INC_DIR)/context.h : $(INC_PMC_DIR)/pmc_callcontext.h

$(INC_DIR)/config.h : \
$(INC_DIR)/pbcversion.h \
$(INC_DIR)/has_header.h \
$(INC_DIR)/feature.h

$(INC_DIR)/pbcversion.h : PBC_COMPAT
$(PERL) $(BUILD_TOOLS_DIR)/pbcversion_h.pl > $@
$(ADDGENERATED) "$@" "[main]" include
Expand Down

0 comments on commit fd9dbbc

Please sign in to comment.