summaryrefslogtreecommitdiff
path: root/src/GNUmakefile
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2014-11-13 19:31:03 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2014-11-13 19:31:03 +0100
commit7cffcc99678cb62c11f33bf6ff6979229754cbc7 (patch)
tree44fd9c53628283dde155e550a865b3bd216fb13e /src/GNUmakefile
parent7d239d4d733a00eb0d44b8a29d67c2ec312a1604 (diff)
downloadbiruda-7cffcc99678cb62c11f33bf6ff6979229754cbc7.tar.gz
biruda-7cffcc99678cb62c11f33bf6ff6979229754cbc7.tar.bz2
added a small built-in webserver
Diffstat (limited to 'src/GNUmakefile')
-rw-r--r--src/GNUmakefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile
index 0704fba..f6db48e 100644
--- a/src/GNUmakefile
+++ b/src/GNUmakefile
@@ -4,20 +4,21 @@ all: biruda
CFLAGS = -g -std=c99 -Wall -pedantic -D_XOPEN_SOURCE=600
LDFLAGS =
-LIBS = -lconfuse -lpthread -lnanomsg -ljson-c
+LIBS = -lconfuse -lpthread -lnanomsg -ljson-c -lmicrohttpd
%.o : %.c
$(CC) $(CFLAGS) -c -o $@ $<
-biruda: biruda.o biruda_cmdline.o master.o coordinator.o worker.o system.o
+biruda: biruda.o biruda_cmdline.o master.o coordinator.o worker.o system.o webserver.o
$(CC) -o $@ $(LDFLAGS) $^ $(LIBS)
biruda_cmdline.o: biruda_cmdline.c
-biruda.o: biruda.c biruda_cmdline.h master.h coordinator.h worker.h port.h system.h
+biruda.o: biruda.c biruda_cmdline.h master.h coordinator.h worker.h port.h system.h webserver.h
master.o: master.c master.h port.h
coordinator.o: coordinator.c coordinator.h port.h system.h
worker.o: worker.c worker.h port.h
system.o: system.c system.h
+webserver.o: webserver.c webserver.h
biruda_cmdline.c: biruda.ggo
gengetopt -F biruda_cmdline --unamed-opts --conf-parser --include-getopt -i $<