diff options
| author | mutantturkey <mutantturke@gmail.com> | 2012-08-02 19:15:33 -0400 | 
|---|---|---|
| committer | mutantturkey <mutantturke@gmail.com> | 2012-08-02 19:15:33 -0400 | 
| commit | 99779a2ef5bf982a5eacbd30519d9d1d88c07560 (patch) | |
| tree | 4e7908a0ff877eef57997ce4cfbfd23b22b45b87 | |
| parent | 230c1ed46fdc851239647731cddd9a3dc3634fa9 (diff) | |
added filter-mask to Makefile
| -rw-r--r-- | fly-tools/Makefile | 7 | 
1 files changed, 5 insertions, 2 deletions
| diff --git a/fly-tools/Makefile b/fly-tools/Makefile index 4805a55..c27dcb1 100644 --- a/fly-tools/Makefile +++ b/fly-tools/Makefile @@ -4,11 +4,14 @@ CFLAGS= -O2 -Wall -s  CPPFLAGS= -O2 -Wall -s   MAGICKCPPFLAGS = $(shell pkg-config --cflags --libs ImageMagick++ gsl)  MAGICKCFLAGS = $(shell pkg-config --cflags --libs MagickWand ) +CVBLOBCPPFLAGS = $(shell pkg-config --cflags --libs opencv cvblob ) -all: FilterFlyMask FlyTrackingMain mask-generator derive-background standard-deviation +all: FilterFlyMask FlyTrackingMain mask-generator derive-background standard-deviation filter-mask  derive-background:  	$(CC) background/main.c -std=c99 -o derive-background $(CFLAGS) $(MAGICKCFLAGS) +filter-mask: +	$(CPPC) filter/main.cpp -o filter-mask $(CPPFLAGS) $(CVBLOBCPPFLAGS)  mask-generator:  	$(CC) mask/main.c mask/thpool.c -I./mask/ -o mask-generator $(CFLAGS) $(MAGICKCFLAGS) -pthread  standard-deviation: @@ -19,4 +22,4 @@ FilterFlyMask:  	$(CPPC) FilterFlyMask.cpp FlyObject.cpp FrameInfo.cpp -o FilterFlyMask $(CPPFLAGS) $(MAGICKCPPFLAGS)  clean: -	rm -vf FilterFlyMask FlyTracking mask-generator derive-background standard-deviation +	rm -vf FilterFlyMask FlyTracking mask-generator derive-background standard-deviation filter-mask | 
