aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--src/sds.c (renamed from sds.c)0
-rw-r--r--src/sds.h (renamed from sds.h)0
-rw-r--r--src/testhelp.h (renamed from testhelp.h)0
4 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:
diff --git a/sds.c b/src/sds.c
index 5306f1f..5306f1f 100644
--- a/sds.c
+++ b/src/sds.c
diff --git a/sds.h b/src/sds.h
index ab6fc9c..ab6fc9c 100644
--- a/sds.h
+++ b/src/sds.h
diff --git a/testhelp.h b/src/testhelp.h
index 4503340..4503340 100644
--- a/testhelp.h
+++ b/src/testhelp.h