summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 39e1290..58da358 100644
--- a/Makefile
+++ b/Makefile
@@ -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: