aboutsummaryrefslogtreecommitdiff
path: root/fly-tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fly-tools/Makefile')
-rw-r--r--fly-tools/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/fly-tools/Makefile b/fly-tools/Makefile
index 1ba4ecc..1952419 100644
--- a/fly-tools/Makefile
+++ b/fly-tools/Makefile
@@ -1,10 +1,12 @@
CPPC = g++
CC = gcc
CPPFLAGS = -O2 -Wall -s $(shell pkg-config --cflags --libs ImageMagick++ gsl)
-CFLAGS = -O2 -Wall -s $(shell pkg-config --cflags --libs MagickWand)
+CFLAGS = -O2 -Wall -s $(shell pkg-config --cflags --libs MagickWand gsl)
-all: FilterFlyMask FlyTrackingMain mask-generator
+all: FilterFlyMask FlyTrackingMain mask-generator derive-background
+derive-background:
+ $(CC) background/main.c -std=c99 -o derive-background $(CFLAGS)
mask-generator:
$(CC) mask/main.c mask/thpool.c -I./mask/ -o mask-generator $(CFLAGS) -pthread
FlyTrackingMain: