Skip to content

Commit 4378ac1

Browse files
method_templates: Remove dependency generation, avoiding stall in make -n
1 parent 9390315 commit 4378ac1

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

tests/charm++/method_templates/Makefile

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ $(TARGET): $(OBJ)
3838
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $^
3939

4040
clean:
41-
$(RM) $(wildcard *.decl.h *.def.h *.d *.di *.ci.stamp *.o) $(TARGET) charmrun
41+
$(RM) $(wildcard *.decl.h *.def.h *.ci.stamp *.o) $(TARGET) charmrun
4242

4343
again:
4444
$(MAKE) clean; $(MAKE)
@@ -60,13 +60,8 @@ smptest: all
6060
mylib.o: mylib.C mylib.h mylib.decl.h mylib.def.h
6161
pgm.o: pgm.C client.decl.h mylib.h mylib.decl.h mylib.def.h utils.h client.def.h
6262

63-
# Rule to generate dependency info for charm++ interface (ci) definition files
64-
%.di: %.ci
65-
$(CXX) -M $< > $@
66-
6763
%.ci.stamp: %.ci
6864
$(CXX) $< && touch $@
6965

70-
# Include the generated files containing dependency info
71-
-include $(INTF:.ci=.di)
72-
66+
client.decl.h client.def.h: pgm.ci.stamp
67+
mylib.decl.h mylib.def.h: mylib.ci.stamp

0 commit comments

Comments
 (0)