From 43b4da02dd18a3ca68a355b2b333abde46ece953 Mon Sep 17 00:00:00 2001 From: Win Date: Thu, 23 May 2024 20:07:04 +0700 Subject: [PATCH] revamped makefile --- Makefile | 14 +++++++++++--- server | Bin 17248 -> 20832 bytes 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 54fdb36..4dd66ec 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,12 @@ -CC=/usr/bin/clang +CC = /usr/bin/clang +CFLAGS = -g -Wall -all: webserver.c - $(CC) webserver.c -o webserver +TARGET = server + +all: $(TARGET) + +$(TARGET): src/$(TARGET).c + $(CC) $(CFLAGS) -o $(TARGET) src/$(TARGET).c + +clean: + $(RM) $(TARGET) diff --git a/server b/server index 35a6a6bdebb0039de5cbec899eea44b2f4194285..fecc90c216ec86d49f09b38ad5fcdca3804089d1 100755 GIT binary patch delta 4160 zcma)9dsGzH9lkTOcXnr&g@t87l*j@CKC-O%KopecMnDS)1kqqtUJXBhHnx=VZNE$VmViHe7nl>@XF)?8A zI42idl%@`+q_UU47{BQ6hyH3ibgCeY&OUm+w5orP_sZQv-x3~(;a*c_TQ6~sDdX1e zq^c-F#$LKUG4Ti2bq;ARJ9t9M_pM&5d@nvT=~ialH^cf*_`q7DJQu$*ZY{Is!+QC- ziHQl&6-u;iCBHOEsj#h#vM}qD$llYg zoRP6g)=Vv2%J-crLe^(I5#1JuxSG2m(7`x8g`!#2J)LX-=+D*_)Qd z9afH|C31U|(X^DrJ@As)u_%tV+{u@kML{P-=?z0%dcRQ_apZBsL)RR<5RQcpC7c1C zgd8U}_i)@uSJwM1z`y>%w?`5>a z5AxHrg%}i!ENnweTjJ#wLq$r(arc$&h#TX^a?%j4NcDIFy2EESs8#vqOT;nmw zc-?Fx3$_XiP0v6^&9>;DGAEpasy{)@N$)e|Bu|VNpv)4J#Y8DNM*5;nnCEAqfYWYq*J+8*$z({6L?5O6^W1<|dWxNF(NERo$9S%mRYo+cZ!0 zjpYX#Ge~qB9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