--- sys/unix/Makefile.src.orig Tue Dec 10 21:20:09 1996 +++ sys/unix/Makefile.src Sat Jul 25 00:30:05 1998 @@ -124,8 +124,8 @@ # flags for debugging: # CFLAGS = -g -I../include -CFLAGS = -O -I../include -LFLAGS = +CFLAGS += -DHACKDIR=\"${NHDIR}\" -DHAVE_SYS_PARAM_H -I../include -I${X11BASE}/include +LFLAGS = -L${X11BASE}/lib # Set the WINSRC, WINOBJ, and WINLIB lines to correspond to your desired @@ -146,8 +146,8 @@ winmisc.o winstat.o wintext.o winval.o tile.o # # -WINSRC = $(WINTTYSRC) -WINOBJ = $(WINTTYOBJ) +WINSRC = $(WINTTYSRC) ${WINX11SRC} +WINOBJ = $(WINTTYOBJ) ${WINX11OBJ} # on some systems the termcap library is in -ltermcap or -lcurses # on 386 Xenix, the -ltermlib tputs() seems not to work; use -lcurses instead @@ -167,13 +167,13 @@ # # libraries for X11 # If USE_XPM is defined in config.h, you will also need -lXpm here. -WINX11LIB = -lXaw -lXmu -lXext -lXt -lX11 +WINX11LIB = -lXaw -lXmu -lXext -lXt -lX11 -lXpm # WINX11LIB = -lXaw -lXmu -lXt -lX11 # WINX11LIB = -lXaw -lXmu -lXext -lXt -lXpm -lX11 -lm # WINX11LIB = -lXaw -lXmu -lXpm -lXext -lXt -lX11 -lSM -lICE -lm # BSD/OS 2.0 # # -WINLIB = $(WINTTYLIB) +WINLIB = $(WINTTYLIB) ${WINX11LIB} # any other strange libraries your system needs (for Sysunix only -- the more # specialized targets should already be right) @@ -199,8 +199,8 @@ # LIBS = -# make NetHack -GAME = nethack +# make slash +GAME = slash # if you defined RANDOM in unixconf.h/tosconf.h since your system did not come # with a reasonable random number generator