### 	Makefile

COPTS	=       -v -O
CMODEL	=	-w -b0 -r0
CREFS	=	
DEFINES =	
LMODEL	=	snb
LDOPTS	=	-N -td -Lnbg+$(ALTLIB)
ALTLIB	=	aesa$(LMODEL).lib
#
CFLAGS	=	$(COPTS) $(CMODEL) $(CREFS) $(DEFINES)
ASFLAGS =
LDFLAGS =	$(COPTS) $(CMODEL) $(LDOPTS)
MAPOPTS =	#MAP $*.map

SETUP  =	gemskel.o handlers.o intro.o apps.o fonts.o\
		mainstuf.o dpath.o file.o xform_do.o drivers.o\
		tables.o assign.o extend.o epath.o\
		mn_aes.o mn_index.o mn_menu.o mn_submn.o\
		mn_event.o mn_mbar.o mn_popup.o mn_tools.o\
		text.o

.s.o:
	mac $*.s
	dr2lc $@

install.prg:$(SETUP)
				lcc $(LDFLAGS)=$@ $(SETUP)
				@gstfix $@

gemskel.o:	country.h text.h handlers.h mainstuf.h

handlers.o:	country.h setup.h setup.rsh text.h gemskel.h intro.h \
		file.h menubind.h dpath.h driver.h fonts.h apps.h\
		assign.h extend.h epath.h

intro.o:	country.h setup.h setup.rsh text.h gemskel.h handlers.h\
		dpath.h

dpath.o:	country.h text.h setup.h gemskel.h handlers.h assign.h\
		file.h

epath.o:	country.h text.h setup.h gemskel.h handlers.h assign.h\
		file.h

drivers.o:	country.h text.h setup.h gemskel.h handlers.h menubind.h

fonts.o:	country.h text.h setup.h gemskel.h handlers.h

apps.o:		country.h text.h setup.h gemskel.h handlers.h

mainstuf.o:	country.h text.h handlers.h gemskel.h menubind.h file.h\
		setup.h tables.h

xform_do.o:	country.h setup.h gemskel.h handlers.h

file.o:		country.h text.h gemskel.h handlers.h drivers.h mainstuf.h\
		setup.h tables.h

tables.o:	country.h setup.h text.h gemskel.h handlers.h file.h

assign.o:	country.h text.h setup.h gemskel.h handlers.h file.h

extend.o:	country.h text.h setup.h gemskel.h handlers.h file.h

text.o:		country.h
