• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修订版520b4fed8f216ee1d45b6360446015627b9681bf (tree)
时间2013-02-11 00:29:18
作者Katsuhiko Nishimra <ktns.87@gmai...>
CommiterKatsuhiko Nishimra

Log Message

Bugfix on depend target. #30218

git-svn-id: https://svn.sourceforge.jp/svnroot/molds/trunk@1295 1136aad2-a195-0410-b898-f5ea1d11b9d8

更改概述

差异

--- a/src/Makefile
+++ b/src/Makefile
@@ -47,7 +47,8 @@ endif
4747
4848 .PHONY: depend
4949 depend:
50- +make -B $(DEPFILE)
50+ rm $(DEPFILE)
51+ +make $(DEPFILE)
5152
5253 $(DEPFILE): Makefile
5354 $(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)
--- a/src/Makefile_GNU
+++ b/src/Makefile_GNU
@@ -42,7 +42,8 @@ $(EXENAME): $(DEPFILE) $(ALL_OBJ_FILES)
4242
4343 .PHONY: depend
4444 depend:
45- +make -B $(DEPFILE)
45+ rm $(DEPFILE)
46+ +make $(DEPFILE)
4647
4748 $(DEPFILE): Makefile_GNU
4849 $(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)