diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-12-05 16:29:26 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-12-05 16:29:26 +0100 |
commit | b43eba280f73aca79c79effcc36cb5f6c905b5e0 (patch) | |
tree | acb94c7e6d7dce6a905baf895c67e314109148de | |
parent | 5ccfe5a04747de790628100f10a3b1ff7eac4a08 (diff) | |
download | sds-b43eba280f73aca79c79effcc36cb5f6c905b5e0.tar.xz |
Move source files to src dir, use VPATH in Makefile
-rw-r--r-- | Makefile | 4 | ||||
-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
@@ -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/testhelp.h b/src/testhelp.h index 4503340..4503340 100644 --- a/testhelp.h +++ b/src/testhelp.h |