aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-01-19 21:47:52 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-01-19 22:18:21 +0100
commitbd348a50e65b9ef26b81998bf248480edaa7a4f2 (patch)
tree7f66a65633a5b177e5f64f2414b7585c510b305a /Makefile
parentf3fedce6231c135d910b114c845d9ccc47f91ee6 (diff)
downloadsds-bd348a50e65b9ef26b81998bf248480edaa7a4f2.tar.xz
Move tests to test/
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b1ff027..ee5600e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,16 @@
CFLAGS += -Weverything -O2 -std=c99 -ggdb
CC = clang
-SOURCES = src/twbctf.c src/sds.c
-HEADERS = src/twbctf.h src/sds.h
+SOURCES = test/twbctf.c src/sds.c
+HEADERS = test/twbctf.h src/sds.h
MANPAGES = docs/sds.3 docs/sdsnew.3 docs/sdsfree.3
all: sds-test $(MANPAGES)
-sds-test: $(SOURCES) $(HEADERS) src/test.c
+sds-test: $(SOURCES) $(HEADERS) test/test.c
@echo "==> Building sds-test"
- $(CC) $(CFLAGS) -o $@ $(SOURCES)
+ $(CC) $(CFLAGS) -Isrc -o $@ $(SOURCES)
docs/%.3: docs/%.rst
@echo "==> Building manpages"