Debian Codegraph @

makefile

raw symbols ◀ ▶ SCIP
2 Debian patches touch this file
1 # BINIAX-2 1.3 MAKEFILE FOR UNIX/LINUX/MACOS SYSTEMS
2 # (C) 2005-2009, JORDAN TUZSUZOV
3 # To build the game you need the development libraries of SDL 1.2, SDL_mixer and SDL_image.
4 # To execute the game you need the runtimes of SDL, SDL_mixer and SDL_image.
5
•6 FLAGS+=`dpkg-buildflags --get CFLAGS`
7 FLAGS+=`dpkg-buildflags --get CPPFLAGS`
8 CC=gcc
9 FILES=biniax.c hof.c desktop/cfg.c desktop/gfx.c desktop/snd.c desktop/inp.c desktop/sys.c
10 INCLUDES=-I . -I desktop
•11 LINKTO=-lSDL -lSDL_mixer -lSDL_image
•12 LINKTO+=`dpkg-buildflags --get LDFLAGS`
13 DATADIR=/usr/share/games/biniax2
14 AUTO=`sdl-config --libs --cflags` -DDATADIR=\"$(DATADIR)\"
15 TARGET=biniax2
16
17 biniax:
•18 $(CC) $(FLAGS) $(AUTO) $(FILES) $(INCLUDES) -o $(TARGET) $(LINKTO)