File: Makefile.linux

package info (click to toggle)
cl-sdl 0.2.2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,188 kB
  • ctags: 1,610
  • sloc: lisp: 8,278; ansic: 516; sh: 177; makefile: 163
file content (21 lines) | stat: -rw-r--r-- 466 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
#### -*- Mode: Makefile -*-

CC=gcc
CFLAGS= -g -shared -Wall -fPIC
LDFLAGS= -L/usr/X11R6/lib/
SHLIB_SUFFIX=so

SDL_CFLAGS=$(CFLAGS) `sdl-config --cflags`
SDL_LDFLAGS=$(LDFLAGS) `sdl-config --libs` -lpthread

GL_CFLAGS=$(CFLAGS)
GL_LDFLAGS=$(LDFLAGS) -lGLU -lGL

SDL_TTF_CFLAGS=$(SDL_CFLAGS)
SDL_TTF_LDFLAGS=$(LDFLAGS) -lSDL_ttf

SDL_MIX_CFLAGS=$(SDL_CFLAGS)
SDL_MIX_LDFLAGS=$(LDFLAGS) -lSDL_mixer

SDL_IMG_CFLAGS=$(SDL_CFLAGS)
SDL_IMG_LDFLAGS=$(LDFLAGS) -lSDL_image