summaryrefslogtreecommitdiff
path: root/games/tuxpuck/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/tuxpuck/files/patch-Makefile')
-rw-r--r--games/tuxpuck/files/patch-Makefile29
1 files changed, 11 insertions, 18 deletions
diff --git a/games/tuxpuck/files/patch-Makefile b/games/tuxpuck/files/patch-Makefile
index ee98b8680483..b92ed5e6feb4 100644
--- a/games/tuxpuck/files/patch-Makefile
+++ b/games/tuxpuck/files/patch-Makefile
@@ -1,23 +1,16 @@
---- Makefile.orig Tue Oct 15 13:48:06 2002
-+++ Makefile Wed Oct 30 13:01:37 2002
-@@ -1,8 +1,8 @@
- # Makefile for TuxPuck , Copyright Jacob Kroon 2001-2002
- VERSION = 0.8.1
--CC = gcc
--CFLAGS += `sdl-config --cflags` -D_VERSION=\"$(VERSION)\" \
-- -g -Wall
-+CC ?= gcc
-+CFLAGS += `$(SDL_CONFIG) --cflags` -D_VERSION=\"$(VERSION)\" \
-+ -Wall
- CSOURCES = tuxpuck.c video.c audio.c menu.c sprite.c font.c timer.c \
- board.c entity.c glass.c scoreboard.c player.c zoom.c png.c \
- jpg.c intro.c tux.c arcana.c
-@@ -18,7 +18,7 @@
+--- Makefile.orig Fri Nov 8 11:50:29 2002
++++ Makefile Wed Dec 25 15:38:45 2002
+@@ -17,11 +17,11 @@
+ endif
- tuxpuck : $(OBJS)
+ %.o : %.c
+- $(CC) $(CFLAGS) `sdl-config --cflags` -c -o $@ $<
++ $(CC) $(CFLAGS) `$(SDL_CONFIG) --cflags` -c -o $@ $<
+
+ $(NAME) : $(OBJS)
cd data; $(MAKE)
- $(CC) $(CFLAGS) $(OBJS) data/libdata.a `sdl-config --libs` -lm -lpng \
+ $(CC) $(CFLAGS) $(OBJS) data/libdata.a `$(SDL_CONFIG) --libs` -lm -lpng \
- -ljpeg -lz -lvorbisfile -lvorbis -logg -o tuxpuck
+ -ljpeg -lz -lvorbisfile -lvorbis -logg -o $(NAME)
- clean :
+ w32icon.o : data/icons/tuxpuck.ico