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