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