diff options
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: |