From 3145df792e44939c34b506b015e12a4c5235c9fa Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 6 Nov 2017 23:43:22 +0100 Subject: Fix two errors and move reuseable code from sbusd to libsbusd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5c112a2..4998caf 100644 --- a/Makefile +++ b/Makefile @@ -8,10 +8,11 @@ include $(CONFIGFILE) all: sbusd libsbus.so libsbus.a test -sbusd.o: arg.h +sbusd.o: arg.h libsbusd.h libsbus.o: libsbus.h test.o: libsbus.h test: test.o libsbus.a +sbusd: sbusd.o libsbusd.o libsbus.so: libsbus.o $(CC) -shared -Wl,-soname,libsbus.so.$(LIB_MAJOR) -o $@ $^ $(LDFLAGS) -- cgit v1.2.3-70-g09d2