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

Last change on this file since 407 was 407, checked in by Sam Hocevar, 16 years ago
  • src/image.c: SDL_image support.
File size: 679 bytes
Line 
1NULL =
2
3bin_PROGRAMS = pwntcha
4pwntcha_CFLAGS = $(ADDITIONAL_CFLAGS) -Wall -O6
5pwntcha_LDFLAGS = $(ADDITIONAL_LDFLAGS)
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
15
16if USE_SDL
17ADDITIONAL_CFLAGS = `sdl-config --cflags`
18ADDITIONAL_LDFLAGS = `sdl-config --libs` -lSDL_image
19else
20if USE_IMLIB2
21ADDITIONAL_CFLAGS = `imlib2-config --cflags` -DX_DISPLAY_MISSING=1
22ADDITIONAL_LDFLAGS = `imlib2-config --libs`
23else
24if USE_OPENCV
25ADDITIONAL_CFLAGS = `opencv-config --cflags`
26ADDITIONAL_LDFLAGS = `opencv-config --libs opencv highgui`
27else
28ADDITIONAL_CFLAGS =
29ADDITIONAL_LDFLAGS =
30endif
31endif
32endif
33
Note: See TracBrowser for help on using the repository browser.