Commit c81199d2 authored by Jordan Sissel's avatar Jordan Sissel
Browse files

more msgpack

parent ff323493
......@@ -4,7 +4,7 @@ CFLAGS+=-Ibuild/include -std=c99 -Wall -Wextra -Werror -pipe -g
#-O2
LDFLAGS+=-pthread
LDFLAGS+=-Lbuild/lib -Wl,-rpath,'$$ORIGIN/../lib'
LIBS=-lzmq
LIBS=-lzmq -lmsgpack
PREFIX?=/opt/lumberjack
......@@ -13,6 +13,8 @@ include Makefile.ext
clean:
-rm -fr lumberjack unixsock *.o build
-make -C vendor/msgpack/ clean
-make -C vendor/zeromq/ clean
rpm deb:
fpm -s dir -t $@ -n lumberjack -v $(VERSION) --prefix /opt/lumberjack \
......@@ -26,10 +28,10 @@ rpm deb:
backoff.c: backoff.h
harvester.c: harvester.h
emitter.c: emitter.h
lumberjack.c: build/include/insist.h build/include/zeromq.h
lumberjack.c: build/include/insist.h build/include/zeromq.h build/include/msgpack.h
lumberjack.c: backoff.h harvester.h emitter.h
build/bin/lumberjack: | build/bin build/lib/libzmq.$(LIBEXT)
build/bin/lumberjack: | build/bin build/lib/libzmq.$(LIBEXT) build/lib/libmsgpack.$(LIBEXT)
build/bin/lumberjack: lumberjack.o backoff.o harvester.o emitter.o
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
@echo " => Build complete: $@"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment