mirror of
https://github.com/opus-tango/http-server-in-c.git
synced 2026-03-20 12:05:25 +00:00
17 lines
468 B
Makefile
17 lines
468 B
Makefile
all: webserver.o client_handler.o request_handler.o http_stuff.o
|
|
gcc -o webserver.out *.o -lpthread
|
|
|
|
webserver: webserver.c
|
|
gcc -c 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 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
|