forked from Lainports/freebsd-ports
Formido is one of those games, where you are loaded with some guns and you go shooting different things. 'Things' in this case are big, ugly, - not green though - alien insects. The idea is to kill as many of those bastards as possible. Eventually they will overcome you, but struggle as long as you can. There are some power-ups to aid you in your honorable quest. Keep in mind, that those critters are rather tough and generally do nasty things when in close range of any player-characters. WWW: http://koti.mbnet.fi/lsoft/formido/formido.html PR: ports/89514 Submitted by: Dmitry Marakasov <amdmi3@mail.ru>
31 lines
1 KiB
Text
31 lines
1 KiB
Text
--- Makefile.orig Fri Nov 7 21:58:35 2003
|
|
+++ Makefile Sat Nov 19 19:58:06 2005
|
|
@@ -7,23 +7,23 @@
|
|
#(just don't include the ending slash)
|
|
|
|
#Data directory (default: ./data)
|
|
-DATDIR = ./data
|
|
+DATDIR ?= ./data
|
|
|
|
#High score directory (default: ./data)
|
|
-HISCOREDIR = ./data
|
|
+HISCOREDIR ?= ./data
|
|
|
|
#Config file directory (default: .)
|
|
CONFIGDIR = .
|
|
|
|
-CC=g++
|
|
+CC?=g++
|
|
FLAGS=`sdl-config --cflags` -Wall -I./include
|
|
-LINKFLAGS=-O2 -ffast-math -fomit-frame-pointer
|
|
+LINKFLAGS?=-O2 -ffast-math -fomit-frame-pointer
|
|
LIBS=`sdl-config --libs` -lm -lSDL_mixer -lSDL_image
|
|
CPPFILES=blend.cpp credits.cpp explo.cpp hof.cpp menu.cpp player.cpp \
|
|
bomb.cpp critter.cpp font.cpp init.cpp mymath.cpp powerup.cpp \
|
|
config.cpp effect.cpp game.cpp main.cpp particle.cpp timer.cpp
|
|
|
|
-DEFINES=-DDATA_DIR=\"${DATDIR}\" -DHISCORE_DIR=\"${HISCOREDIR}\" -DCONFIG_DIR=\"${CONFIGDIR}\"
|
|
+DEFINES=-DDATA_DIR=\"${DATDIR}\" -DHISCORE_DIR=\"${HISCOREDIR}\" -DDEFAULT_CONFIG_FILE=\"${DEFAULT_CONFIG_FILE}\"
|
|
|
|
SOURCES=$(addprefix src/, $(CPPFILES))
|
|
OBJECTS=$(addprefix obj/, $(CPPFILES:.cpp=.o))
|