revamped makefile
This commit is contained in:
parent
7c61ca2038
commit
43b4da02dd
12
Makefile
12
Makefile
|
@ -1,4 +1,12 @@
|
||||||
CC = /usr/bin/clang
|
CC = /usr/bin/clang
|
||||||
|
CFLAGS = -g -Wall
|
||||||
|
|
||||||
all: webserver.c
|
TARGET = server
|
||||||
$(CC) webserver.c -o webserver
|
|
||||||
|
all: $(TARGET)
|
||||||
|
|
||||||
|
$(TARGET): src/$(TARGET).c
|
||||||
|
$(CC) $(CFLAGS) -o $(TARGET) src/$(TARGET).c
|
||||||
|
|
||||||
|
clean:
|
||||||
|
$(RM) $(TARGET)
|
||||||
|
|
Loading…
Reference in New Issue