projects
/
model-checker-benchmarks.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add another testcase for dekker-fences
[model-checker-benchmarks.git]
/
linuxrwlocks
/
Makefile
diff --git
a/linuxrwlocks/Makefile
b/linuxrwlocks/Makefile
index d66ada32861570347b3c6a9d40c2cdd99190a36c..8a436359fd8e56c2da00bbcdbdd7afa6f0e4dc10 100644
(file)
--- a/
linuxrwlocks/Makefile
+++ b/
linuxrwlocks/Makefile
@@
-1,11
+1,14
@@
include ../benchmarks.mk
TESTNAME = linuxrwlocks
include ../benchmarks.mk
TESTNAME = linuxrwlocks
+WILDCARD_TESTS = testcase1 testcase2 testcase_full
+all: $(TESTNAME) $(WILDCARD_TESTS)
-all: $(TESTNAME)
+$(TESTNAME): $(TESTNAME).c $(TESTNAME).h
+ $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS)
-$(
TESTNAME): $(TESTNAME).c
- $(CC) -o $@ $< $(C
PP
FLAGS) $(LDFLAGS)
+$(
WILDCARD_TESTS): % : %.c $(TESTNAME)-wildcard.h
+ $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS)
clean:
clean:
- rm -f $(TESTNAME) *.o
+ rm -f $(TESTNAME) *.o
$(WILDCARD_TESTS)