1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
# A little makeyfile edit up to the solid line...
# EDIT THE CDEBUGFLAGS IF -O GIVES A PROBLEM
CDEBUGFLAGS = -O
# CHANGE HSCORE_FILE TO SUIT
#HSCORE_FILE=/usr/local/lib/xjewel.scores
HSCORE_FILE=xjewel.scores
# ADD YOUR ARCHITECTURE IF YOU USE SELECT INSTEAD OF POLL
#if defined(HPArchitecture) || defined(ApolloArchitecture) || \
defined(UltrixArchitecture)
#define sel -DUSE_SELECT
#else
#define sel
#endif
# DEFINE 'DECWM' if you use DECwindows session manager
# DEFINE 'ICON_WINDOW if you want dynamic icons
# DEFINE 'LEAVE_PAUSE' if you auto pause if the pointer leaves the window
# DEFINE 'GETPWENT' if you dont have the cuserid ftn (hscore.c)
# DEFINE 'SLOW_FONTS=n' if your server is overly fast on fonts
# DEFINE 'SLOW_DRAW=n' if your server is overly fast on drawing
USERDEFS = -DICON_WINDOW
# CHANGE FFILE TO REFLECT THE EXTENSION USED FOR COMPILED FONTS
FFILE = snf
##############################################################################
# X-STUFF...
LOCAL_LIBRARIES = $(XLIB)
DEPLIBS =
DEFINES = -DHSCORE_FILE=\"$(HSCORE_FILE)\" sel $(USERDEFS)
# MY CODE...
HDRS = general.h xw.h jewel.h logic.h panel.h xhscore.h hscore.h \
game.h intro.h help.h
OBJS = xw.o jewel.o logic.o panel.o xhscore.o hscore.o game.o intro.o help.o
SRCS = xw.c jewel.c logic.c panel.c xhscore.c hscore.c game.c intro.c help.c
FONT = bitmaps/seven_seg
CFONT = bitmaps/seven_seg.$(FFILE)
# LETS GET TO IT...
ComplexProgramTarget(xjewel)
# IF YOUR SERVER DOES NOT LIKE THE DEFAULT FONT COMPILER, EDIT HERE...
FontTarget($(FONT))
$(MKFONTDIR) bitmaps/
# FORCE FONT TO BE BUILT
all:: $(CFONT)
install::
touch $(HSCORE_FILE)
chmod a+w $(HSCORE_FILE)
|