diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-04-04 17:21:35 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-04-04 17:48:43 +0200 |
commit | f829f179582f7cb03c87a67b67e54a09c624bb13 (patch) | |
tree | cf6fca2e5432930e50d0869ad413319762a27cc8 /Makefile | |
parent | 1bbdf627f65a731be93dbbab386618e5e7ea7fd6 (diff) | |
download | cv-f829f179582f7cb03c87a67b67e54a09c624bb13.tar.gz cv-f829f179582f7cb03c87a67b67e54a09c624bb13.tar.bz2 cv-f829f179582f7cb03c87a67b67e54a09c624bb13.zip |
Add capture.c: OpenCV capture displayed with GTK+3
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -5,14 +5,15 @@ CFLAGS = -ggdb -std=c99 -pedantic -Wall $(DEFINES) \ LDFLAGS = $(LIBS) -lm \ $(shell pkg-config --libs gdk-pixbuf-2.0 glib-2.0 gthread-2.0) -PROGS = wimmel wimmel_gl roi -OBJS = wimmel.o wimmel_gl.o util.o roi.o +PROGS = wimmel wimmel_gl roi capture +OBJS = wimmel.o wimmel_gl.o util.o roi.o capture.o all: $(PROGS) wimmel: wimmel.o util.o wimmel_gl: wimmel_gl.o util.o roi: roi.o +capture: capture.o .PHONY: clean all @@ -24,12 +25,17 @@ roi: roi.o wimmel_gl: - $(CC) $(LDFLAGS) `pkg-config --cflags --libs egl glesv2` -o $@ $+ + $(CC) $(LDFLAGS) `pkg-config --cflags --libs egl glesv2` -o $@ $+ roi.o: roi.c $(CC) $(CFLAGS) `pkg-config --cflags gtk+-3.0` -c -o $@ $< roi: $(CC) $(LDFLAGS) `pkg-config --libs gtk+-3.0` -o $@ $+ +capture.o: capture.c + $(CC) $(CFLAGS) `pkg-config --cflags gtk+-3.0 opencv` -c -o $@ $< +capture: + $(CC) $(LDFLAGS) `pkg-config --libs gtk+-3.0 opencv` -o $@ $+ + clean: rm -f $(PROGS) $(OBJS) |