aboutsummaryrefslogtreecommitdiff
path: root/games/anagramarama/files/patch-makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/anagramarama/files/patch-makefile')
-rw-r--r--games/anagramarama/files/patch-makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/games/anagramarama/files/patch-makefile b/games/anagramarama/files/patch-makefile
new file mode 100644
index 000000000000..9be11c68e4d6
--- /dev/null
+++ b/games/anagramarama/files/patch-makefile
@@ -0,0 +1,37 @@
+--- makefile.orig Mon Jan 27 15:17:54 2003
++++ makefile Mon Jul 11 13:37:04 2005
+@@ -1,6 +1,6 @@
+-LFLAGS=-Wall -funroll-loops -fomit-frame-pointer -pipe -O9
+-CFLAGS=-Wall `sdl-config --cflags --libs` -funroll-loops -fomit-frame-pointer -pipe -O9 -lSDL_mixer
+-CC=gcc
++CFLAGS=-Wall $(OPT) `sdl-config --cflags`
++LFLAGS=`sdl-config --libs` -lSDL_mixer
++OPT=-funroll-loops -fomit-frame-pointer -O3
+
+ C_FILES=src/dlb.c src/linked.c src/sprite.c src/ag.c
+ OBJ_FILES=src/dlb.o src/linked.o src/sprite.o src/ag.o
+@@ -9,19 +9,19 @@
+ all:ag
+
+ ag: $(OBJ_FILES)
+- $(CC) $(CFLAGS) -o $(OUT_FILE) $(OBJ_FILES)
++ $(CC) $(LFLAGS) -o $(OUT_FILE) $(OBJ_FILES)
+
+ src/dlb.o: src/dlb.c
+- $(CC) $(LFLAGS) -c -o $@ $^
++ $(CC) $(CFLAGS) -c -o $@ $^
+
+ src/linked.o: src/linked.c
+- $(CC) $(LFLAGS) -c -o $@ $^
++ $(CC) $(CFLAGS) -c -o $@ $^
+
+ src/sprite.o: src/sprite.c
+- $(CC) $(LFLAGS) -c -o $@ $^
++ $(CC) $(CFLAGS) -c -o $@ $^
+
+ src/ag.o: src/ag.c
+- $(CC) $(LFLAGS) -c -o $@ $^
++ $(CC) $(CFLAGS) -c -o $@ $^
+
+ clean:
+ rm -f src/*.o