1 diff -u -r ../frotz-2.43d/Makefile ./Makefile
2 --- ../frotz-2.43d/Makefile 2012-01-03 09:32:58.000000000 +0100
3 +++ ./Makefile 2014-03-06 22:50:06.580642826 +0100
5 # Define your C compiler. I recommend gcc if you have it.
6 # MacOS users should use "cc" even though it's really "gcc".
12 # Define your optimization flags. Most compilers understand -O and -O2,
13 # Standard (note: Solaris on UltraSparc using gcc 2.8.x might not like this.)
18 # Pentium with gcc 2.7.0 or better
19 #OPTS = -O2 -fomit-frame-pointer -malign-functions=2 -malign-loops=2 \
22 # Define where you want Frotz installed. Usually this is /usr/local
26 -MAN_PREFIX = $(PREFIX)
27 +MAN_PREFIX = $(PREFIX)/share
28 #MAN_PREFIX = /usr/local/share
30 CONFIG_DIR = $(PREFIX)/etc
33 # Define where you want Frotz to look for frotz.conf.
35 -CONFIG_DIR = /usr/local/etc
36 +#CONFIG_DIR = /usr/local/etc
38 #CONFIG_DIR = /usr/pkg/etc
41 # curses library won't work, comment out the first option and uncomment
49 # Uncomment this if your need to use ncurses instead of the
50 # vendor-supplied curses library. This just tells the compile process
52 $(COMMON_TARGET): $(COMMON_OBJECT)
54 @echo "Archiving common code..."
55 - ar rc $(COMMON_TARGET) $(COMMON_OBJECT)
56 - ranlib $(COMMON_TARGET)
57 + $(AR) rc $(COMMON_TARGET) $(COMMON_OBJECT)
58 + $(RANLIB) $(COMMON_TARGET)
61 curses_lib: config_curses $(CURSES_TARGET)
62 $(CURSES_TARGET): $(CURSES_OBJECT)
64 @echo "Archiving curses interface code..."
65 - ar rc $(CURSES_TARGET) $(CURSES_OBJECT)
66 - ranlib $(CURSES_TARGET)
67 + $(AR) rc $(CURSES_TARGET) $(CURSES_OBJECT)
68 + $(RANLIB) $(CURSES_TARGET)
71 dumb_lib: $(DUMB_TARGET)
72 $(DUMB_TARGET): $(DUMB_OBJECT)
74 @echo "Archiving dumb interface code..."
75 - ar rc $(DUMB_TARGET) $(DUMB_OBJECT)
76 - ranlib $(DUMB_TARGET)
77 + $(AR) rc $(DUMB_TARGET) $(DUMB_OBJECT)
78 + $(RANLIB) $(DUMB_TARGET)
86 - strip $(BINNAME)$(EXTENSION)
87 + $(STRIP) $(BINNAME)$(EXTENSION)
88 install -d $(PREFIX)/bin
89 install -d $(MAN_PREFIX)/man/man6
90 install -c -m 755 $(BINNAME)$(EXTENSION) $(PREFIX)/bin
94 install_dumb: d$(NAME)
95 - strip d$(BINNAME)$(EXTENSION)
96 + $(STRIP) d$(BINNAME)$(EXTENSION)
97 install -d $(PREFIX)/bin
98 install -d $(MAN_PREFIX)/man/man6
99 install -c -m 755 d$(BINNAME)$(EXTENSION) $(PREFIX)/bin