Makefile for webserver test
authorSam Moore <[email protected]>
Tue, 6 Aug 2013 10:55:15 +0000 (18:55 +0800)
committerSam Moore <[email protected]>
Tue, 6 Aug 2013 10:55:15 +0000 (18:55 +0800)
I always forget the Makefile.

testing/web2io/Makefile [new file with mode: 0644]

diff --git a/testing/web2io/Makefile b/testing/web2io/Makefile
new file mode 100644 (file)
index 0000000..24310f3
--- /dev/null
@@ -0,0 +1,29 @@
+# Makefile for web2io testing stuff
+CXX = gcc
+FLAGS = -std=c99 -Wall -Werror -pedantic -g
+LIB = 
+OBJ = network.o log.o webserver.o
+RM = rm -f
+
+BIN = webserver
+
+$(BIN) : $(OBJ)
+       $(CXX) $(FLAGS) -o $(BIN) $(OBJ)
+
+
+%.o : %.c
+       $(CXX) $(FLAGS) -c $<
+
+
+
+clean :
+       $(RM) $(BIN)
+       $(RM) *.o
+
+clean_full: #cleans up all backup files
+       $(RM) $(BIN) $(OBJ) $(LINKOBJ)
+       $(RM) *.*~
+       $(RM) *~
+
+
+       

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