Added 'debug' target

master
Aadhavan Srinivasan 2 years ago
parent de79fc1ff7
commit a321f677a4

@ -8,6 +8,9 @@ $(EXEC_FILE): main.o easysock.o
allwarn: CFLAGS+=-Wall -Wextra -pedantic allwarn: CFLAGS+=-Wall -Wextra -pedantic
allwarn: $(EXEC_FILE) allwarn: $(EXEC_FILE)
debug: CFLAGS+=-g
debug: $(EXEC_FILE)
clean: $(EXEC_FILE) main.o easysock.o clean: $(EXEC_FILE) main.o easysock.o
rm ./$(EXEC_FILE) rm ./$(EXEC_FILE)

Loading…
Cancel
Save