mirror of
https://github.com/opus-tango/http-server-in-c.git
synced 2026-03-20 12:05:25 +00:00
add http stuff to makefile
This commit is contained in:
7
Makefile
7
Makefile
@@ -1,4 +1,4 @@
|
||||
all: webserver.o client_handler.o request_handler.o
|
||||
all: webserver.o client_handler.o request_handler.o http_stuff.o
|
||||
gcc -o webserver.out *.o -lpthread
|
||||
|
||||
webserver: webserver.c
|
||||
@@ -7,8 +7,11 @@ webserver: webserver.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
|
||||
request_handler: request_handler.c request_handler.h http_stuff.h
|
||||
gcc -c request_handler request_handler.c
|
||||
|
||||
http_stuff: http_stuff.c http_stuff.h
|
||||
gcc -c http_stuff http_stuff.c
|
||||
|
||||
clean:
|
||||
rm -f *.o *.out
|
||||
Reference in New Issue
Block a user