source: pwntcha/trunk/src/Makefile.am @ 389

Last change on this file since 389 was 389, checked in by Sam Hocevar, 15 years ago
  • use OpenCV rather than Imlib2 if both are available.
  • cleaned up the slashdot code.
  • decode phpBB captchas.
  • added filter_contrast.
File size: 506 bytes
Line 
1NULL =
2
3bin_PROGRAMS = pwntcha
4pwntcha_CFLAGS = $(ADDITIONAL_CFLAGS) -Wall -O6
5pwntcha_LDFLAGS = $(ADDITIONAL_LDFLAGS)
6pwntcha_SOURCES = main.c image.c filters.c common.h slashdot.c phpbb.c test.c
7
8if USE_OPENCV
9ADDITIONAL_CFLAGS = `opencv-config --cflags`
10ADDITIONAL_LDFLAGS = `opencv-config --libs opencv highgui`
11else
12if USE_IMLIB2
13ADDITIONAL_CFLAGS = `imlib2-config --cflags` -DX_DISPLAY_MISSING=1
14ADDITIONAL_LDFLAGS = `imlib2-config --libs`
15else
16ADDITIONAL_CFLAGS =
17ADDITIONAL_LDFLAGS =
18endif
19endif
20
Note: See TracBrowser for help on using the repository browser.