File: Makefile.mingw

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-- 443 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=-shared -Wall -fPIC
LDFLAGS=
SHLIB_SUFFIX=dll

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

GL_CFLAGS=$(CFLAGS)
GL_LDFLAGS=$(LDFLAGS) -lglu32 -lopengl32

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