summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-02-20 23:42:25 -0800
committerJoshua Haberman <joshua@reverberate.org>2009-02-20 23:42:25 -0800
commit71311920a9ec81883b4f33aeea946c8f239f2100 (patch)
tree07702c98d59278b1b9efba3973f2085b0b49c181 /Makefile
parent9f2f5e18f1d13c0f2affe1ef302a919ec8e38d0a (diff)
Fully add tests (oops) and bugfixes.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 5dbbece..b22196c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,11 @@
.PHONY: all clean
-all: pbstream.o
+all: pbstream.o tests
clean:
- rm -f pbstream.o
+ rm -f pbstream.o tests
-pbstream.o: pbstream.c
+pbstream.o: pbstream.c pbstream.h
gcc -std=c99 -O3 -Wall -o pbstream.o -c pbstream.c
+
+tests: tests.c pbstream.c pbstream.h
+ gcc -std=c99 -O3 -Wall -o tests tests.c
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback