Added 'allwarn' target to Makefile

master
Aadhavan Srinivasan 2 years ago
parent 80263cb92e
commit 7dce5bbaa1

@ -1,11 +1,12 @@
CC=gcc
CFLAGS=
EXEC_FILE=proxy
EXEC_FILE=basicproxy
$(EXEC_FILE): main.o easysock.o
$(CC) $(CFLAGS) main.o easysock.o -o $(EXEC_FILE)
allwarn: CFLAGS+=-Wall
allwarn: CFLAGS+=-Wall -Wextra -pedantic
allwarn: $(EXEC_FILE)
clean: $(EXEC_FILE) main.o easysock.o

Loading…
Cancel
Save