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

Last change on this file since 407 was 407, checked in by Sam Hocevar, 18 years ago
  • src/image.c: SDL_image support.
File size: 679 bytes
RevLine 
[381]1NULL =
2
3bin_PROGRAMS = pwntcha
[383]4pwntcha_CFLAGS = $(ADDITIONAL_CFLAGS) -Wall -O6
[381]5pwntcha_LDFLAGS = $(ADDITIONAL_LDFLAGS)
[400]6pwntcha_SOURCES = \
7    main.c \
8    image.c \
9    filters.c \
10    common.h \
11    phpbb.c \
12    scode.c \
13    slashdot.c \
14    test.c
[381]15
[407]16if USE_SDL
17ADDITIONAL_CFLAGS = `sdl-config --cflags`
18ADDITIONAL_LDFLAGS = `sdl-config --libs` -lSDL_image
[389]19else
[381]20if USE_IMLIB2
21ADDITIONAL_CFLAGS = `imlib2-config --cflags` -DX_DISPLAY_MISSING=1
22ADDITIONAL_LDFLAGS = `imlib2-config --libs`
23else
[407]24if USE_OPENCV
25ADDITIONAL_CFLAGS = `opencv-config --cflags`
26ADDITIONAL_LDFLAGS = `opencv-config --libs opencv highgui`
27else
[381]28ADDITIONAL_CFLAGS =
29ADDITIONAL_LDFLAGS =
30endif
31endif
[407]32endif
[381]33
Note: See TracBrowser for help on using the repository browser.