mirror of
https://github.com/opus-tango/http-server-in-c.git
synced 2026-03-20 03:55:25 +00:00
add request handler for http request and response generation
This commit is contained in:
9
Makefile
9
Makefile
@@ -1,11 +1,14 @@
|
||||
all: webserver.o client_handler.o
|
||||
gcc -o webserver.out webserver.o client_handler.o -lpthread
|
||||
all: webserver.o client_handler.o request_handler.o
|
||||
gcc -o webserver.out *.o -lpthread
|
||||
|
||||
webserver: webserver.c
|
||||
gcc -c webserver webserver.c
|
||||
|
||||
client_handler: client_handler.c
|
||||
client_handler: client_handler.c client_handler.h request_handler.h
|
||||
gcc -c client_handler client_handler.c
|
||||
|
||||
request_handler: request_handler.c request_handler.h
|
||||
gcc -c request_handler request_handler.c
|
||||
|
||||
clean:
|
||||
rm -f *.o *.out
|
||||
Reference in New Issue
Block a user