Makefile (197B)


     1 CC = cc
     2 CFLAGS = -std=c99 -Wall -Wextra -pedantic -O3
     3 LDLIBS = -lws2_32
     4 
     5 BINS = \
     6 	client
     7 
     8 all: ${BINS}
     9 
    10 .c:
    11 	${CC} ${CFLAGS} -o $@ $< ${LDLIBS}
    12 
    13 clean:
    14 	rm -f ${BINS} *.o *.exe
    15 
    16 .PHONY: all clean