summaryrefslogtreecommitdiff
path: root/webserver/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'webserver/Makefile')
-rw-r--r--webserver/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/webserver/Makefile b/webserver/Makefile
new file mode 100644
index 000000000..f664a7d55
--- /dev/null
+++ b/webserver/Makefile
@@ -0,0 +1,26 @@
+cc = gcc
+
+all:
+ #Generate framework...
+ $(cc) -c parse.c
+ $(cc) -c generate.c
+ $(cc) -c htmlstyle.c
+ $(cc) -c logs.c
+
+ #Generate "pages"...
+ cd pages && $(cc) -c about.c && cd ..
+ cd pages && $(cc) -c sample.c && cd ..
+ cd pages && $(cc) -c notdone.c && cd ..
+
+ #Building the server...
+ $(cc) -o webserver main.c parse.o generate.o htmlstyle.o \
+ logs.o pages/about.o pages/sample.o pages/notdone.o
+
+
+
+
+clean:
+ rm -f *.o
+ rm -f pages/*.o
+ rm -f webserver
+