--- 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
