You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
313 B
Makefile
19 lines
313 B
Makefile
CC=gcc
|
|
CFLAGS=
|
|
EXEC_FILE=basicproxy
|
|
|
|
$(EXEC_FILE): main.o easysock.o
|
|
$(CC) $(CFLAGS) main.o easysock.o -o $(EXEC_FILE)
|
|
|
|
|
|
allwarn: CFLAGS+=-Wall -Wextra -pedantic
|
|
allwarn: $(EXEC_FILE)
|
|
|
|
debug: CFLAGS+=-g
|
|
debug: $(EXEC_FILE)
|
|
|
|
clean: $(EXEC_FILE) main.o easysock.o
|
|
rm ./$(EXEC_FILE)
|
|
rm ./main.o
|
|
rm ./easysock.o
|