summaryrefslogtreecommitdiff
path: root/src/webserver/Makefile
blob: 065c1ffc8ae08779bf8787e0550b6512e651a26a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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