summaryrefslogtreecommitdiff
path: root/src/GNUmakefile
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2014-09-13 21:39:21 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2014-09-13 21:39:21 +0200
commit5257e805a9499229af234180a9d68104a563cf80 (patch)
tree5cccc5d546e5ec17f618ccc558f2c473a0a0a5a4 /src/GNUmakefile
parent6627513d260e807f99fd02cc6571601d794437de (diff)
downloadbiruda-5257e805a9499229af234180a9d68104a563cf80.tar.gz
biruda-5257e805a9499229af234180a9d68104a563cf80.tar.bz2
add json, nanomsg in master
Diffstat (limited to 'src/GNUmakefile')
-rw-r--r--src/GNUmakefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile
index cd74947..d3d1fb8 100644
--- a/src/GNUmakefile
+++ b/src/GNUmakefile
@@ -4,16 +4,19 @@ all: biruda
CFLAGS = -g -std=c99 -Wall -pedantic
LDFLAGS =
-LIBS = -lconfuse
+LIBS = -lconfuse -lpthread -lnanomsg -ljson-c
%.o : %.c
$(CC) $(CFLAGS) -c -o $@ $<
-biruda: biruda.o biruda_cmdline.o
+biruda: biruda.o biruda_cmdline.o master.o coordinator.o worker.o
$(CC) -o $@ $(LDFLAGS) $^ $(LIBS)
biruda_cmdline.o: biruda_cmdline.c
-biruda.o: biruda.c biruda_cmdline.h
+biruda.o: biruda.c biruda_cmdline.h master.h coordinator.h worker.h
+master.o: master.c master.h
+coordinator.o: coordinator.c coordinator.h
+worker.o: worker.c worker.h
biruda_cmdline.c: biruda.ggo
gengetopt -F biruda_cmdline --unamed-opts --conf-parser --include-getopt -i $<