summaryrefslogtreecommitdiff
path: root/src/webserver/Makefile
blob: 149f5a900b9882e544efd4980d3906691b7932fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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