summaryrefslogtreecommitdiffstats
path: root/games/pengpong/files
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-09-03 16:31:09 +0000
committerlioux <lioux@FreeBSD.org>2001-09-03 16:31:09 +0000
commitdf9de0d69e197c065aee397c053ca22eb7369ec5 (patch)
treed4befcc23e2bb8e720817b56fa95dac5bfde942b /games/pengpong/files
parent0ebd8b00914a3b10905138c83d7b84b13c2aac72 (diff)
downloadFreeBSD-ports-df9de0d69e197c065aee397c053ca22eb7369ec5.zip
FreeBSD-ports-df9de0d69e197c065aee397c053ca22eb7369ec5.tar.gz
New port pengpong version 0.2: A cross-platform pong game written
in SDL PR: 30060 Submitted by: Patrick Li <pat@databits.net>
Diffstat (limited to 'games/pengpong/files')
-rw-r--r--games/pengpong/files/patch-Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/games/pengpong/files/patch-Makefile b/games/pengpong/files/patch-Makefile
new file mode 100644
index 0000000..b0f9108
--- /dev/null
+++ b/games/pengpong/files/patch-Makefile
@@ -0,0 +1,25 @@
+--- Makefile.orig Fri Aug 24 15:39:29 2001
++++ Makefile Mon Sep 3 13:25:31 2001
+@@ -1,15 +1,8 @@
+-all: SFont link2 sdlpong finish
++CXXFLAGS += `${SDL_CONFIG} --cflags`
++LIBS = `${SDL_CONFIG} --libs` -lSDL_image
+
+-SFont:
+- g++ -I/usr/include/SDL -D_REENTRANT -c -o SFont.o SFont.c
+-link2:
+- g++ -I/usr/include/SDL -D_REENTRANT -c -o link2.o link2.cpp
+-sdlpong:
+- g++ -pedantic -Wall -c -o sdlpong.o sdlpong.cpp -I/usr/include/SDL -D_REENTRANT
+-finish: SFont link2 sdlpong
+- g++ -o pengpong sdlpong.o link2.o SFont.o -D_REENTRANT -I/usr/include/SDL -lSDL_image
+-install:
+- cp pengpong /usr/local/bin
+-
+-clean:
+- rm *.o
++all:
++ ${CXX} -c -o SFont.o SFont.c ${CXXFLAGS}
++ ${CXX} -c -o link2.o link2.cpp ${CXXFLAGS}
++ ${CXX} -c -o sdlpong.o sdlpong.cpp ${CXXFLAGS}
++ ${CXX} -o pengpong sdlpong.o link2.o SFont.o ${CXXFLAGS} ${LIBS}
OpenPOWER on IntegriCloud