aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile8
2 files changed, 9 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a521197
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+sds-test
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..045fa88
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,8 @@
+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
+ @echo ">>> Type ./sds-test to run the sds.c unit tests."
+
+clean:
+ rm -f sds-test