summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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