修订版 | 520b4fed8f216ee1d45b6360446015627b9681bf (tree) |
---|---|
时间 | 2013-02-11 00:29:18 |
作者 | Katsuhiko Nishimra <ktns.87@gmai...> |
Commiter | Katsuhiko Nishimra |
Bugfix on depend target. #30218
git-svn-id: https://svn.sourceforge.jp/svnroot/molds/trunk@1295 1136aad2-a195-0410-b898-f5ea1d11b9d8
@@ -47,7 +47,8 @@ endif | ||
47 | 47 | |
48 | 48 | .PHONY: depend |
49 | 49 | depend: |
50 | - +make -B $(DEPFILE) | |
50 | + rm $(DEPFILE) | |
51 | + +make $(DEPFILE) | |
51 | 52 | |
52 | 53 | $(DEPFILE): Makefile |
53 | 54 | $(CC) -MM $(ALL_CPP_FILES) -I$(BOOST_INC_DIR) | sed 's/^\([^ ]\)/obj\/\1/g' | sed 's/\($$*\)\.o[ :]*/\1.o : /g' | sed 's/h$$/h\n\t$$(CC) -I$$(BOOST_INC_DIR) -o $$@ $$< $$(CFLAGS) -c /g' > $(DEPFILE) |
@@ -42,7 +42,8 @@ $(EXENAME): $(DEPFILE) $(ALL_OBJ_FILES) | ||
42 | 42 | |
43 | 43 | .PHONY: depend |
44 | 44 | depend: |
45 | - +make -B $(DEPFILE) | |
45 | + rm $(DEPFILE) | |
46 | + +make $(DEPFILE) | |
46 | 47 | |
47 | 48 | $(DEPFILE): Makefile_GNU |
48 | 49 | $(CC) -MM $(ALL_CPP_FILES) -I$(BOOST_INC_DIR) -I$(OPENBLAS_INC_DIR) | sed 's/^\([^ ]\)/obj\/\1/g' | sed 's/\($$*\)\.o[ :]*/\1.o : /g' | sed 's/h$$/h\n\t$$(CC) -I$$(BOOST_INC_DIR) -I$$(OPENBLAS_INC_DIR) -o $$@ $$< $$(CFLAGS) -c /g' > $(DEPFILE) |