Skip to content

Commit

Permalink
Reduce make granularity slightly
Browse files Browse the repository at this point in the history
pmc->dump and dump->c have been combined into a single step, removing the
dependency on transitive closure features.
  • Loading branch information
sorear committed Apr 25, 2010
1 parent 7be2f89 commit 2fa43d9
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions build/Makefile.in
Expand Up @@ -214,19 +214,18 @@ $(PMC_DIR)/init_with_xs.h:


.SUFFIXES : .pmc .dump $(O) .SUFFIXES : .pmc .dump $(O)


.pmc.dump: # We always write .c as a proxy for the other files...

.pmc.c:
$(PMC2C) --no-lines --dump $(PMC2C_INCLUDES) $< $(PMC2C) --no-lines --dump $(PMC2C_INCLUDES) $<
# note that the pmc will always be older than the dump, as the dump will $(PMC2C) --no-lines -c $(PMC2C_INCLUDES) $<
# be remade if needed first
.dump.c:
$(PMC2C) --no-lines -c $(PMC2C_INCLUDES) $*.pmc
.c$(O): .c$(O):
$(CC) $(CC_OUT)$@ $(INCLUDES) $(CFLAGS) $< $(CC) $(CC_OUT)$@ $(INCLUDES) $(CFLAGS) $<


$(PMC_DIR)/$(PMC_BLIZKOST_GROUP).c: $(PMC_SOURCES:.pmc=.dump) $(PMC_DIR)/$(PMC_BLIZKOST_GROUP).c: $(PMC_SOURCES:.pmc=.c)
$(PMC2C) --no-lines --library $(PMC_DIR)/$(PMC_BLIZKOST_GROUP) -c $(PMC_SOURCES) $(PMC2C) --no-lines --library $(PMC_DIR)/$(PMC_BLIZKOST_GROUP) -c $(PMC_SOURCES)


$(PMC_DIR)/p5scalar.dump: $(PMC_DIR)/p5sv.dump $(PMC_DIR)/p5scalar.c: $(PMC_DIR)/p5sv.c


$(OBJS): $(HEADERS) $(OBJS): $(HEADERS)


Expand Down

0 comments on commit 2fa43d9

Please sign in to comment.