diff options
Diffstat (limited to 'src/webserver')
-rw-r--r-- | src/webserver/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/webserver/Makefile b/src/webserver/Makefile index 065c1ff..417fa7c 100644 --- a/src/webserver/Makefile +++ b/src/webserver/Makefile @@ -1,19 +1,19 @@ -cc = gcc +include ../../make.defs all: #Generate framework... - $(cc) -c parse.c - $(cc) -c generate.c - $(cc) -c htmlstyle.c - $(cc) -c logs.c + $(CC) $(CFLAGS) -c parse.c + $(CC) $(CFLAGS) -c generate.c + $(CC) $(CFLAGS) -c htmlstyle.c + $(CC) $(CFLAGS) -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 .. + cd pages && $(CC) $(CFLAGS) -c about.c && cd .. + cd pages && $(CC) $(CFLAGS) -c sample.c && cd .. + cd pages && $(CC) $(CFLAGS) -c notdone.c && cd .. #Building the server... - $(cc) -o webserver main.c parse.o generate.o htmlstyle.o \ + $(CC) $(CFLAGS) -o webserver main.c parse.o generate.o htmlstyle.o \ logs.o pages/about.o pages/sample.o pages/notdone.o |