summaryrefslogtreecommitdiff
path: root/src/webserver/Makefile
blob: 077b39980f0701c29d94cd74c97b5cad6fe2cf5d (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