aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-11-06 23:43:22 +0100
committerMattias Andrée <maandree@kth.se>2017-11-06 23:43:22 +0100
commit3145df792e44939c34b506b015e12a4c5235c9fa (patch)
treef75c2a12ee613cb80eb224c734edef4d51329074 /Makefile
parentRemove unused headers (diff)
downloadsbus-3145df792e44939c34b506b015e12a4c5235c9fa.tar.gz
sbus-3145df792e44939c34b506b015e12a4c5235c9fa.tar.bz2
sbus-3145df792e44939c34b506b015e12a4c5235c9fa.tar.xz
Fix two errors and move reuseable code from sbusd to libsbusd
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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)