File: Makefile.fbsd

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 (22 lines) | stat: -rw-r--r-- 552 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
#### -*- Mode: Makefile -*-

CC=gcc
CFLAGS=-shared -Wall -fPIC
LDFLAGS=
SHLIB_SUFFIX=so
SDL_CONFIG=sdl11-config		# sane default for FreeBSD, should be detected anyway

SDL_CFLAGS=$(CFLAGS) `${SDL_CONFIG} --cflags`
SDL_LDFLAGS=$(LDFLAGS) `${SDL_CONFIG} --libs` -lc

GL_CFLAGS=$(CFLAGS)
GL_LDFLAGS=$(LDFLAGS) -L/usr/X11R6/lib -lGLU -lGL

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

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

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