1 2 SCORE_FILE = -DSCORE_FILE=\"__PREFIX__/lib/X11/xrobotscores\" 3 MAXSCORES = -DMAXSCORES=20 4 MAXX = -DMAXX=35 5 MAXY = -DMAXY=20 6 DEFINES = $(SCORE_FILE) $(MAXSCORES) $(MAXX) $(MAXY) 7 8 SRCS = actions.c game.c graphics.c main.c score.c 9 OBJS = actions.o game.o graphics.o main.o score.o 10 11 INCLUDES = -I$(TOP) -I$(TOOLKITSRC) 12 EXTRA_INCLUDES = -I/usr/contrib/X11R6/include 13LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) 14 SYS_LIBRARIES = -lm 15 16all:: xrobots 17MANSUFFIX=6 18INSTPGMFLAGS = -s 19 20ComplexProgramTarget(xrobots) 21/* 22 * The following is a matter of preference: 23 * 24 * InstallManPage(xrobots,$(MANDIR)) 25 * InstallProgram(xrobots,$(BINDIR)) 26 */ 27 28