mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
b6f9066564
- freebsd.org -> FreeBSD.org - Change location of data files from lib/ to share/ PR: 22746 Submitted by: Ports Fury
22 lines
390 B
Plaintext
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)
|