parent
0a1697f828
commit
894e7c6e58
1 changed files with 1 additions and 4 deletions
@ -1,15 +1,12 @@ |
|||||||
|
|
||||||
.PHONY: all clean |
.PHONY: all clean |
||||||
CFLAGS=-std=c99 -O3 -Wall -Wextra -pedantic
|
CFLAGS=-std=c99 -O3 -Wall -Wextra -pedantic
|
||||||
all: pbstream.o pbstruct.o tests |
all: pbstream.o tests |
||||||
clean: |
clean: |
||||||
rm -f pbstream.o pbstruct.o tests
|
rm -f pbstream.o pbstruct.o tests
|
||||||
|
|
||||||
pbstream.o: pbstream.c pbstream.h |
pbstream.o: pbstream.c pbstream.h |
||||||
gcc $(CFLAGS) -o pbstream.o -c pbstream.c
|
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 |
tests: tests.c pbstream.c pbstream.h |
||||||
gcc $(CFLAGS) -o tests tests.c
|
gcc $(CFLAGS) -o tests tests.c
|
||||||
|
Loading…
Reference in new issue