File: makefile

package info (click to toggle)
biniax2 1.30-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 4,824 kB
  • ctags: 5,590
  • sloc: ansic: 12,544; makefile: 65
file content (15 lines) | stat: -rwxr-xr-x 547 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# BINIAX-2 1.3 MAKEFILE FOR UNIX/LINUX/MACOS SYSTEMS
# (C) 2005-2009, JORDAN TUZSUZOV
# To build the game you need the development libraries of SDL 1.2, SDL_mixer and SDL_image.
# To execute the game you need the runtimes of SDL, SDL_mixer and SDL_image.

FLAGS=-W -WALL
CC=gcc
FILES=biniax.c hof.c desktop/cfg.c desktop/gfx.c desktop/snd.c desktop/inp.c desktop/sys.c
INCLUDES=-I . -I desktop
LINKTO=-lSDL -lSDL_mixer -lSDL_image
AUTO=`sdl-config --libs --cflags`
TARGET=biniax2

biniax:
	$(CC) $(AUTO) $(FILES) $(INCLUDES) -o $(TARGET) $(LINKTO)