1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/games/yahtzee/files/patch-aa
Kevin Lo b6f9066564 - Support CFLAGS/PREFIX properly
- freebsd.org -> FreeBSD.org
- Change location of data files from lib/ to share/

PR: 22746
Submitted by: Ports Fury
2000-11-11 06:38:20 +00:00

22 lines
390 B
Plaintext

--- 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)