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.

16 lines
274 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)
clean: $(EXEC_FILE) main.o easysock.o
rm ./$(EXEC_FILE)
rm ./main.o
rm ./easysock.o