summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b17dec3..1e2e3bd 100644
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@ all: build
include config.mk
progs = freenect-server multipart-replace-http-server
-units = freenect-server-http.service freenect-server-http.socket freenect-server.service freenect-server@.socket
+units = freenect-server-http.service freenect-server-http.socket freenect-server.service
build: $(addprefix src/,$(progs)) $(addprefix systemd/,$(units))
.PHONY: build
@@ -53,12 +53,11 @@ CPPFLAGS += -MD -MF $(@D)/$(@F:%.o=.%.mk) -MP
-include src/.*.mk
# Dependencies that don't get figured out automatically
-src/freenect-server: src/util.o -lfreenect -lusb-1.0 -ljpeg
-src/multipart-replace-http-server: src/util.o src/wg.o src/multipart-replace.o -lpthread
+src/freenect-server: src/util.o -lsystemd -lfreenect -lusb-1.0 -ljpeg
+src/multipart-replace-http-server: src/util.o src/wg.o src/multipart-replace.o -lsystemd -lpthread
systemd/freenect-server-http.service: .var.user .var.group .var.bindir
systemd/freenect-server-http.socket: .var.httpstream
systemd/freenect-server.service: .var.user .var.group .var.bindir
-systemd/freenect-server@.socket: .var.user .var.group
# Rules to make things
COPYING.GPL3: