|
Lines 15-33
Link Here
|
| 15 |
COPY = cp |
15 |
COPY = cp |
| 16 |
OS_TYPE = LINUX |
16 |
OS_TYPE = LINUX |
| 17 |
|
17 |
|
| 18 |
CFLAGS = -Wall -Wwrite-strings -Wstrict-prototypes \ |
|
|
| 19 |
-Wmissing-prototypes -Wmissing-declarations \ |
| 20 |
-g -D$(OS_TYPE) $(EXTRA_FLAGS) |
| 21 |
|
| 22 |
# LDFLAGS = -static |
18 |
# LDFLAGS = -static |
| 23 |
MCHMOD = 2755 |
19 |
MCHMOD = 2755 |
| 24 |
# INSTALLDIR = /usr/games |
20 |
# INSTALLDIR = /usr/games |
|
|
21 |
# Gentoo ebuild note: The INSTALLDIR is never actually used here because we install files ourselves. |
| 25 |
INSTALLDIR = /opt/crawl/bin |
22 |
INSTALLDIR = /opt/crawl/bin |
| 26 |
LIB = -lncurses |
23 |
LIB = -lncurses |
| 27 |
|
24 |
|
| 28 |
# Include for Linux |
|
|
| 29 |
INCLUDES = -I/usr/include/ncurses |
| 30 |
|
| 31 |
all: $(GAME) |
25 |
all: $(GAME) |
| 32 |
|
26 |
|
| 33 |
install: $(GAME) |
27 |
install: $(GAME) |