aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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)