From 71311920a9ec81883b4f33aeea946c8f239f2100 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Fri, 20 Feb 2009 23:42:25 -0800 Subject: Fully add tests (oops) and bugfixes. --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3