diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-07-13 13:59:44 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-07-13 13:59:44 +0000 |
commit | 319b5d5fda6e9394fdc7b0b09121bc8710c31276 (patch) | |
tree | 83a959bf4aa7340af0a4ef72a8b5a34481e3f8ab /games/anagramarama/files/patch-makefile | |
parent | e0cf034d360de557825c21a2fc1719750cdb14a7 (diff) | |
download | ports-319b5d5fda6e9394fdc7b0b09121bc8710c31276.tar.gz ports-319b5d5fda6e9394fdc7b0b09121bc8710c31276.zip |
Notes
Diffstat (limited to 'games/anagramarama/files/patch-makefile')
-rw-r--r-- | games/anagramarama/files/patch-makefile | 37 |
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 |