aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 045fa88..bcec56c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,9 @@
+VPATH = .src/
+
all: sds-test
sds-test: sds.c sds.h testhelp.h
- $(CC) -o sds-test sds.c -Wall -std=c99 -pedantic -O2 -DSDS_TEST_MAIN
+ $(CC) -o sds-test $< -Wall -std=c99 -pedantic -O2 -DSDS_TEST_MAIN
@echo ">>> Type ./sds-test to run the sds.c unit tests."
clean: