blob: 98bbb0610109a420469de83dff7511daed5d8f14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
.PHONY: all clean
all: pbstream.o pbstruct.o tests
clean:
rm -f pbstream.o pbstruct.o tests
pbstream.o: pbstream.c pbstream.h
gcc -std=c99 -O3 -Wall -o pbstream.o -c pbstream.c
pbstruct.o: pbstruct.c pbstruct.h
gcc -std=c99 -O3 -Wall -o pbstruct.o -c pbstruct.c
tests: tests.c pbstream.c pbstream.h
gcc -std=c99 -O3 -Wall -o tests tests.c
|