projects
/
cdsspec-compiler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1066ff3
)
tests: litmus: link up Makefile properly
author
Brian Norris
<banorris@uci.edu>
Wed, 16 Jan 2013 07:43:44 +0000
(23:43 -0800)
committer
Brian Norris
<banorris@uci.edu>
Wed, 16 Jan 2013 07:43:44 +0000
(23:43 -0800)
Now this builds the litmus tests properly.
test/Makefile
patch
|
blob
|
history
diff --git
a/test/Makefile
b/test/Makefile
index c918368e253c6d282b9bece62f1031be4177e66c..f1ea5b295d110f81090bf2807b2aeb25c2b9f8bc 100644
(file)
--- a/
test/Makefile
+++ b/
test/Makefile
@@
-8,7
+8,10
@@
SRCS = $(wildcard *.c)
CPSRCS = $(wildcard *.cc)
OBJS = $(patsubst %.c,%.o,$(SRCS)) $(patsubst %.cc,%.o,$(CPSRCS))
-all: $(OBJS)
+all: $(OBJS) litmus-tests
+
+litmus-tests::
+ $(MAKE) -C litmus
%.o: %.c
$(CC) -o $@ $< $(CPPFLAGS) -L$(BASE) -l$(LIB_NAME)
@@
-18,3
+21,4
@@
all: $(OBJS)
clean::
rm -f *.o
+ $(MAKE) -C litmus clean