diff options
Diffstat (limited to 'games/yahtzee/files/patch-Makefile')
-rw-r--r-- | games/yahtzee/files/patch-Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/games/yahtzee/files/patch-Makefile b/games/yahtzee/files/patch-Makefile new file mode 100644 index 0000000..c2eb526 --- /dev/null +++ b/games/yahtzee/files/patch-Makefile @@ -0,0 +1,21 @@ +--- Makefile.orig Sat Jan 25 17:45:26 1992 ++++ Makefile Wed Nov 8 04:48:42 2000 +@@ -1,4 +1,4 @@ +-CFLAGS = ++CFLAGS += -DHAS_RENAME -DSCOREDIR=\"$(PREFIX)/share/yahtzee\" + + OBJ = computer.o main.o + +@@ -7,9 +7,11 @@ + BIN = yahtzee + + $(BIN): $(OBJ) +- cc -o $@ $(OBJ) -lcurses ++ $(CC) -o $@ $(OBJ) -lcurses + + clean: + rm -f $(OBJ) $(BIN) + + $(OBJ): yahtzee.h config.h ++ ++all: $(BIN) $(OBJ) |