File: Makefile.am

package info (click to toggle)
libsdl-console 2.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 1,284 kB
  • sloc: sh: 7,371; ansic: 1,482; makefile: 49
file content (28 lines) | stat: -rw-r--r-- 815 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FLAGS=-Wall -g -O2 -pedantic
INCLUDES= -I../include

example_static_SOURCES = ConsoleExample.c split.c
example_static_LDFLAGS = -L../src ../src/.libs/libSDL_console.a

if HAVE_OPENGL
GLEXAMPLES = exampleGL exampleGL_static

exampleGL_static_SOURCES = ConsoleExample.c split.c
exampleGL_static_LDFLAGS = -L../src ../src/.libs/libSDL_console.a @EXAMPLE_LIBS@
exampleGL_static_CPPFLAGS = -DHAVE_OPENGL

exampleGL_SOURCES = ConsoleExample.c split.c
exampleGL_LDFLAGS = -L../src -lSDL_console  @EXAMPLE_LIBS@
exampleGL_CPPFLAGS = -DHAVE_OPENGL
else
GLEXAMPLES =
endif

example_SOURCES = ConsoleExample.c split.c
example_LDFLAGS = -L../src -lSDL_console

noinst_PROGRAMS = example example_static $(GLEXAMPLES)


EXTRA_DIST = ConsoleExample.c ConsoleExample.h split.c split.h ConsoleFont.gif LargeFont.gif background.jpg