aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Hart <dvhltc@us.ibm.com>2009-11-12 21:18:04 -0800
committerDarren Hart <dvhltc@us.ibm.com>2009-11-12 21:18:04 -0800
commit57c32b420de64e2a86fda5762bc574b8d7dbc03c (patch)
treed435c08f32baeef11e0262393a260bdf93edd899
parentf562a70f03e8a1e57e3236f7f36e65432564daca (diff)
downloadfutextest-57c32b420de64e2a86fda5762bc574b8d7dbc03c.tar.gz
Add bare Makefiles to performance and stress directories
Avoid make output noise with skeleton Makefiles in all the subdirs. Signed-off-by: Darren Hart <dvhltc@us.ibm.com>
-rw-r--r--performance/Makefile14
-rw-r--r--stress/Makefile14
2 files changed, 28 insertions, 0 deletions
diff --git a/performance/Makefile b/performance/Makefile
new file mode 100644
index 0000000..9589e49
--- /dev/null
+++ b/performance/Makefile
@@ -0,0 +1,14 @@
+INCLUDES := -I../include
+CFLAGS := $(CFLAGS) -g -O2 -Wall -D_GNU_SOURCE $(INCLUDES)
+LDFLAGS := $(LDFLAGS) -lpthread -lrt
+
+HEADERS := ../include/futextest.h
+TARGETS :=
+
+.PHONY: all clean
+all: $(TARGETS)
+
+$(TARGETS): $(HEADERS)
+
+clean:
+ rm -f $(TARGETS)
diff --git a/stress/Makefile b/stress/Makefile
new file mode 100644
index 0000000..9589e49
--- /dev/null
+++ b/stress/Makefile
@@ -0,0 +1,14 @@
+INCLUDES := -I../include
+CFLAGS := $(CFLAGS) -g -O2 -Wall -D_GNU_SOURCE $(INCLUDES)
+LDFLAGS := $(LDFLAGS) -lpthread -lrt
+
+HEADERS := ../include/futextest.h
+TARGETS :=
+
+.PHONY: all clean
+all: $(TARGETS)
+
+$(TARGETS): $(HEADERS)
+
+clean:
+ rm -f $(TARGETS)