Merge pull request #85 from Callum-/dilatometer
[matches/MCTX3420.git] / testing / fastcgi-approach / Makefile
1 CXX = clang
2 FLAGS = -std=c99 -Wall -Werror -pedantic -g
3 LIB = -lpthread -lfcgi -lcrypto
4 OBJ = main.o fastcgi.o
5 RM = rm -f
6
7 BIN = fast
8
9 $(BIN) : $(OBJ)
10         $(CXX) $(FLAGS) -o $(BIN) $(OBJ) $(LIB)
11
12 %.o : %.c
13         $(CXX) $(FLAGS) -c $<
14
15 clean:
16         $(RM) $(BIN)
17         $(RM) *.o
18
19 clean_full: #cleans up all backup files
20         $(RM) $(BIN) $(OBJ) $(LINKOBJ)
21         $(RM) *.*~
22         $(RM) *~

UCC git Repository :: git.ucc.asn.au