diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-03-11 19:34:18 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-03-11 19:34:18 -0500 |
commit | a0a8aaf5170eab149ee0fed4d7846e0df856a2e4 (patch) | |
tree | 8e301f0c0279bdd5b592f1c63004b650fab3470f /Makefile | |
parent | 77f1df1a250d958317c930e6f3a36edf42f11d09 (diff) |
split into separate executables
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2,14 +2,14 @@ CFLAGS += -g -std=c99 -Wall -Werror -Wextra -pedantic CPPFLAGS += -std=c99 -Wall -Werror -Wextra -pedantic CPPFLAGS += -D_GNU_SOURCE -all: freenect-server +all: freenect-server freenect-server--kinect freenect-server--http .PHONY: all -freenect-server: main.o thread_kinect.o thread_mpjpeg.o thread_http.o wg.o -lfreenect -lusb-1.0 -lpthread - $(CC) $(LDFLAGS) $^ -o $@ +freenect-server--kinect: util.o -lfreenect -lusb-1.0 +freenect-server--http: util.o mpjpeg.o -lpthread clean: - rm -f -- *.o .*.mk freenect-server + rm -f -- *.o .*.mk freenect-server freenect-server--kinect freenect-server--http .PHONY: clean .DELETE_ON_ERROR: |