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 90dafcfb30dbb7656c5cc97744d68ba7fdf1482f..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
+$(
WILDCARD_TESTS): % : %.c $(TESTNAME)-wildcard.h
$(CC) -o $@ $< $(CFLAGS) $(LDFLAGS)
clean:
$(CC) -o $@ $< $(CFLAGS) $(LDFLAGS)
clean:
- rm -f $(TESTNAME) *.o
+ rm -f $(TESTNAME) *.o
$(WILDCARD_TESTS)