ccd155e539
Additional changes: - Bump PORTREVISION - Add audio/libogg to library dependency - Regenerate patches PR: 210082 Approved by: junovitch (mentor)
27 lines
933 B
Text
27 lines
933 B
Text
--- Makefile.orig 2002-11-08 10:50:29 UTC
|
|
+++ Makefile
|
|
@@ -1,8 +1,8 @@
|
|
# Makefile for TuxPuck , Copyright Jacob Kroon 2001-2002
|
|
NAME = tuxpuck
|
|
VERSION = 0.8.2
|
|
-CC = gcc
|
|
-CFLAGS += -D_VERSION=\"$(VERSION)\" -g -Wall
|
|
+CC ?= gcc
|
|
+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
|
|
@@ -17,11 +17,11 @@ ifdef COMSPEC
|
|
endif
|
|
|
|
%.o : %.c
|
|
- $(CC) $(CFLAGS) `sdl-config --cflags` -c -o $@ $<
|
|
+ $(CC) $(CFLAGS) `$(SDL_CONFIG) --cflags` `libpng-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` `libpng-config --libs` -lm \
|
|
-ljpeg -lz -lvorbisfile -lvorbis -logg -o $(NAME)
|
|
|
|
w32icon.o : data/icons/tuxpuck.ico
|