aboutsummaryrefslogtreecommitdiff
path: root/fly-tools/Makefile
diff options
context:
space:
mode:
authormutantturkey <mutantturke@gmail.com>2012-10-01 09:25:45 -0400
committermutantturkey <mutantturke@gmail.com>2012-10-01 09:25:45 -0400
commitf9006166b69ffc0a70b2351bd942b17f0e72f1a9 (patch)
treef619094f75e9ca0e30c0c5d90d5522600b99ee10 /fly-tools/Makefile
parent0918e48d8ce67ee85b84918bd621c66aba2c7060 (diff)
use the C++/openCV version of our background generator now, delete the old C implementation and updated the makefile accordingly
Diffstat (limited to 'fly-tools/Makefile')
-rw-r--r--fly-tools/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/fly-tools/Makefile b/fly-tools/Makefile
index eea1a76..ab33ac1 100644
--- a/fly-tools/Makefile
+++ b/fly-tools/Makefile
@@ -1,17 +1,17 @@
CPPC = g++
CC = gcc
-CFLAGS= -O2 -Wall -s -Wextra
-CPPFLAGS= -O2 -Wall -s -Wextra
+CFLAGS= -O2 -Wall -s -Wextra -mtune=native
+CPPFLAGS= -O2 -Wall -s -Wextra -mtune=native
MAGICKCPPFLAGS = $(shell pkg-config --cflags --libs ImageMagick++ gsl)
MAGICKCFLAGS = $(shell pkg-config --cflags --libs MagickWand )
CVBLOBCPPFLAGS = $(shell pkg-config --cflags --libs opencv cvblob )
-
+CVCPPFLAGS = $(shell pkg-config --cflags --libs opencv)
all: FilterFlyMask FlyTrackingMain mask-generator derive-background standard-deviation filter-mask
derive-background:
- $(CC) background/main.c -std=c99 -o derive-background $(CFLAGS) $(MAGICKCFLAGS)
+ $(CC) background/main.cpp -o derive-background $(CPPFLAGS) $(CVCPPFLAGS)
filter-mask:
- $(CPPC) filter/main.cpp -o filter-mask $(CPPFLAGS) $(CVBLOBCPPFLAGS)
+ $(CPPC) filter/main.cpp -o filter-mask $(CPPFLAGS) $(CVBLOBCPPFLAGS) $(CVCPPFLAGS)
mask-generator:
$(CC) mask/main.c mask/thpool.c -I./mask/ -o mask-generator $(CFLAGS) $(MAGICKCFLAGS) -pthread
standard-deviation: