--- Makefile.orig Tue Dec 30 05:30:25 1997 +++ Makefile Mon Jul 1 02:25:43 2002 @@ -1,10 +1,13 @@ OBJS = main.o mymath.o mastermind.o guiglobal.o apptogui.o guitoapp.o mainwindowdesign.o CC = gcc -CFLAGS = -O2 -Wall -Wpointer-arith -Wstrict-prototypes -pedantic -ansi +.if exists(${X11BASE}/include/X11/forms.h) +XFORMSINC=-I${X11BASE}/include/X11 +.endif +CFLAGS+= -Wall -Wpointer-arith -Wstrict-prototypes -pedantic -ansi -I${X11BASE}/include ${XFORMSINC} CLIBS = -lm #GRAPHLIBS = -lforms -L/usr/X11R6/lib/ -lX11 -static -GRAPHLIBS = -lforms -L/usr/X11R6/lib/ -lX11 +GRAPHLIBS = -lforms -L${X11BASE}/lib -lX11 -lXpm MF = Makefile ALLLIBS = $(GRAPHLIBS) $(CLIBS)