projects
/
YACASL2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60d4c25
)
依存関係を表すファイル*.dがコンパイル後自動削除されるようにMakefileを修正
author
j8takagi
<j8takagi@nifty.com>
Tue, 26 Apr 2011 00:14:19 +0000
(09:14 +0900)
committer
j8takagi
<j8takagi@nifty.com>
Tue, 26 Apr 2011 00:14:19 +0000
(09:14 +0900)
src/Makefile
patch
|
blob
|
history
diff --git
a/src/Makefile
b/src/Makefile
index
b0bcbdf
..
04d0604
100644
(file)
--- a/
src/Makefile
+++ b/
src/Makefile
@@
-14,12
+14,15
@@
all: ../casl2 ../comet2 ../dumpword
../casl2: casl2.o $(subst .c,.o,$(COMMONSRC) $(CASL2SRC) $(ASSRC) $(EXECSRC))
$(CC) $(CFLAGS) -o $@ $^
+ @rm -f *.d
../comet2: comet2.o $(subst .c,.o,$(COMMONSRC) $(CASL2SRC) $(EXECSRC))
$(CC) $(CFLAGS) -o $@ $^
+ @rm -f *.d
../dumpword: dumpword.o $(subst .c,.o,$(COMMONSRC))
$(CC) $(CFLAGS) -o $@ $^
+ @rm -f *.d
%.o: %.c
$(CC) -c $(CFLAGS) $<