summaryrefslogtreecommitdiff
path: root/src/GNUmakefile
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2014-11-14 22:13:48 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2014-11-14 22:13:48 +0100
commit7ca7fa71346f64494010ea6ac8cc5e71fb1ad343 (patch)
tree55ffeed30db507607c7d438f8e36891f21cf51a0 /src/GNUmakefile
parentcda6f82b0e0035ee1176cdb5b6f2f797f897e8f0 (diff)
downloadbiruda-7ca7fa71346f64494010ea6ac8cc5e71fb1ad343.tar.gz
biruda-7ca7fa71346f64494010ea6ac8cc5e71fb1ad343.tar.bz2
started cli with linenoise
Diffstat (limited to 'src/GNUmakefile')
-rw-r--r--src/GNUmakefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile
index 5e531c8..ceb26f3 100644
--- a/src/GNUmakefile
+++ b/src/GNUmakefile
@@ -10,7 +10,7 @@ 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 webserver.o
+biruda: biruda.o biruda_cmdline.o master.o coordinator.o worker.o system.o webserver.o linenoise.o
$(CC) -o $@ $(LDFLAGS) $^ $(LIBS)
biruda_cmdline.o: biruda_cmdline.c
@@ -20,6 +20,7 @@ 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
+linenoise.o: linenoise.c linenoise.h
biruda_cmdline.c: biruda.ggo
gengetopt -F biruda_cmdline --unamed-opts --conf-parser --include-getopt -i $<