projects
/
mussa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e84eed9
)
always use all the prequisites when building
author
Diane Trout
<diane@caltech.edu>
Wed, 22 Feb 2006 04:05:39 +0000
(
04:05
+0000)
committer
Diane Trout
<diane@caltech.edu>
Wed, 22 Feb 2006 04:05:39 +0000
(
04:05
+0000)
$? is the prereqs "newer" than the target
$^ is all the prerequisites
Needless to say when building binaries you need all the libraries,
even when they haven't changed.
module.mk
patch
|
blob
|
history
test/module.mk
patch
|
blob
|
history
diff --git
a/module.mk
b/module.mk
index a06d311a67694f155749480313c9bc3e06d13ca1..abde60fbc8307220c7ae26cd0dbf43f9c727938b 100644
(file)
--- a/
module.mk
+++ b/
module.mk
@@
-13,5
+13,5
@@
MUSSA := $(CURDIR)/mussa$(BINEXT)
TARGETBINS += $(MUSSA)
$(MUSSA): $(MUSSASRC:.cxx=$(OBJEXT)) $(MUSSA_FLTK_LIB) $(MUSSA_ALG_LIB)
- g++ -lfltk -o $@ $
?
+ g++ -lfltk -o $@ $
^
diff --git
a/test/module.mk
b/test/module.mk
index 62b5aea672babb3be8ff1c713fb7cd099cdf4461..8ddc34e74c2fa12e5e5f6276c0b4f7647e551c5f 100644
(file)
--- a/
test/module.mk
+++ b/
test/module.mk
@@
-14,5
+14,5
@@
TEST := $(BASEDIR)/test_mussa$(BINEXT)
TARGETBINS += $(TEST)
$(TEST): $(TESTSRC:.cxx=$(OBJEXT)) $(MUSSA_ALG_LIB)
- g++ $(CXXFLAGS) -lboost_unit_test_framework -o $@ $
?
+ g++ $(CXXFLAGS) -lboost_unit_test_framework -o $@ $
^