http-parser.c

Small C library to parse HTTP requests
Log | Files | Refs | README | LICENSE

commit 5bc5e46b65f79cb8b1aee55e3e80b8a727058ffa
parent bff11372aa811645511d4d93ae559b335af1d86d
Author: finwo <finwo@pm.me>
Date:   Mon, 10 Jul 2023 23:48:25 +0200

Updated makefile to have clean and rebuild on header updates

Diffstat:
MMakefile | 11+++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,6 +1,13 @@ -http-parser-test: test.c src/http-parser.c - $(CC) -Isrc -o $@ $^ +SRC=$(wildcard src/*.c) +SRC+=test.c + +http-parser-test: $(SRC) src/http-parser-statusses.h src/http-parser.h + $(CC) -Isrc -o $@ $(SRC) .PHONY: check check: http-parser-test ./$< + +.PHONY: clean +clean: + rm -f http-parser-test