1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/games/stransball2/files/patch-sources-Makefile
Martin Wilke 129c27a433 "Super Transball 2" is the sequel of "Transball" and "Transball 2",
Inspired in THRUST type of games (and concretely in ZARA THRUSTA
for the Amiga 500). In each level of Transball, the goal is to find
the SPHERE, capture it and carry it to the upper part of the level.
The main obstacle is the gravity, that impulses you towards the
ground. But many other obstacles, canons, tanks, doors, etc. will
try to make difficult your journey...

WWW: http://www.braingames.getput.com/stransball2/default.asp

PR:		ports/122896
Submitted by:	Dmitry Marakasov <amdmi3 at amdmi3.ru>
2008-04-28 08:46:59 +00:00

18 lines
605 B
Plaintext

--- sources/Makefile.orig 2005-04-16 21:16:54.000000000 +0400
+++ sources/Makefile 2008-04-07 01:10:16.000000000 +0400
@@ -12,12 +12,11 @@
all: stransball2
%.o: %.cpp
- c++ -c -g3 -O3 $< -o $@ `sdl-config --cflags` -I/usr/local/include/SDL
+ ${CXX} ${CXXFLAGS} -c $< -o $@ `${SDL_CONFIG} --cflags`
# dynamically linked binary:
stransball2: $(OBJS)
- c++ $^ -o $@ `sdl-config --libs` -lSDL_image -lSDL_mixer -lSDL_sound -lSDL_sound -lSGE -I/usr/local/include/SDL
- mv ./stransball2 ..
+ ${CXX} $^ -o $@ `${SDL_CONFIG} --libs` -lSDL_image -lSDL_mixer -lSDL_sound -lSGE
clean:
rm -f stransball2