revamped makefile
This commit is contained in:
parent
7c61ca2038
commit
43b4da02dd
14
Makefile
14
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)
|
||||
|
|
Loading…
Reference in New Issue