diff options
author | Guangxiong Lin <[email protected]> | 2022-12-02 12:18:57 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-12-02 12:18:57 +0800 |
commit | 0457119acb36b89b6f2f4534fe8ad94b19540bbd (patch) | |
tree | 865660e935da9a4adc34f17237e7e83364b53fc6 /Makefile | |
parent | 6ec515e5515fbf529e3610a2c88116278af2a134 (diff) | |
download | tinyserver-0457119acb36b89b6f2f4534fe8ad94b19540bbd.tar.gz tinyserver-0457119acb36b89b6f2f4534fe8ad94b19540bbd.tar.bz2 tinyserver-0457119acb36b89b6f2f4534fe8ad94b19540bbd.zip |
Refactor
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,9 @@ CC ?= gcc +.PHONY: debug +debug: CFLAGS += -g -DDEBUG=1 +debug: server client + .PHONY: all all: client server @@ -13,5 +17,5 @@ clean: client: client.o util.o $(CC) -o $@ $^ -server: server.o util.o eventloop.o tsocket.o +server: server.o util.o eventloop.o tsocket.o acceptor.o connection.o $(CC) -o $@ $^ |