Skip to content

Commit a7ce23e

Browse files
Switch suffix-based dependency rules that depend on Makefile.config
for more pattern-based rules.
1 parent 691240c commit a7ce23e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -680,10 +680,10 @@ endif
680680
$(UTILS): %: %.cc tokeninput.h
681681
$(CPLUSPLUS) -g $< -o $@
682682

683-
.c.d: $(ECOLAB_HOME)/include/Makefile.config
683+
%.d: %.c $(ECOLAB_HOME)/include/Makefile.config
684684
$(CC) $(FLAGS) -MM -MG $< >$@
685685

686-
.cc.d: $(ECOLAB_HOME)/include/Makefile.config
686+
%.d: %.cc $(ECOLAB_HOME)/include/Makefile.config
687687
$(CPLUSPLUS) $(FLAGS) $(CXXFLAGS) -MM -MG $< >$@
688688

689689
.h.cd:

0 commit comments

Comments
 (0)