Added Additional rules for Makefile
parent
9107109e1c
commit
ae6e7a5b2f
@ -1,5 +1,10 @@
|
|||||||
CC=gcc
|
CC=gcc
|
||||||
main: main.c easysock.c
|
CLAGS=
|
||||||
$(CC) main.c easysock.c -o proxy
|
EXEC_FILE=proxy
|
||||||
|
$(EXEC_FILE): main.o easysock.o
|
||||||
|
$(CC) main.o easysock.o -o $(EXEC_FILE)
|
||||||
allwarn: main.c easysock.c
|
allwarn: main.c easysock.c
|
||||||
$(CC) -Wall main.c easysock.c -o proxy
|
$(CC) -Wall main.c easysock.c -o $(EXEC_FILE)
|
||||||
|
delOutput: $(EXEC_FILE)
|
||||||
|
rm ./$(EXEC_FILE)
|
||||||
|
clean: delOutput $(EXEC_FILE)
|
||||||
|
Loading…
Reference in New Issue