-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
15 lines (11 loc) · 878 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
ACLOCAL_AMFLAGS = -I m4
AM_CPPFLAGS = $(BOOST_CPPFLAGS)
bin_PROGRAMS = generator scanner
generator_SOURCES = src/Image.cpp src/alphacode.cpp src/manipulator.cpp
generator_CXXFLAGS = -DGENERATE -DspaceBeforeRow=2 -DcodeFinderSlashCount=10 -DrowFinderSlashCount=3 -ULIVE -UGUI -USCAN -UDURATION -UIMAGE_PATH -UVIDEO_PATH
# generator_LDFLAGS = $(BOOST_LDFLAGS)
generator_LDADD = -lopencv_core -lopencv_highgui -lopencv_imgproc -lgsl -lgslcblas -lsqlite3 $(BOOST_THREAD_LIB) $(BOOST_CHRONO_LIB)
scanner_SOURCES = src/Image.cpp src/alphacode.cpp src/capturer_mmap.cpp src/manipulator.cpp
scanner_CXXFLAGS = -DLIVE -DSCAN -DspaceBeforeRow=2 -DcodeFinderSlashCount=10 -DrowFinderSlashCount=3 -UUSE_HOUGH -UGENERATE
scanner_LDFLAGS = $(BOOST_LDFLAGS)
scanner_LDADD = -lopencv_core -lopencv_highgui -lopencv_imgproc -lgsl -lgslcblas -lsqlite3 $(BOOST_THREAD_LIB) $(BOOST_CHRONO_LIB)