summaryrefslogtreecommitdiff
path: root/src/webserver/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/webserver/Makefile')
-rw-r--r--src/webserver/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/webserver/Makefile b/src/webserver/Makefile
new file mode 100644
index 000000000..149f5a900
--- /dev/null
+++ b/src/webserver/Makefile
@@ -0,0 +1,20 @@
+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