# makefile MAKE V2.0 or higher
.autodepend

# set this to the name of the TGA image you want to use
TGA_name = EARTHMAP.TGA

# set this to the relative location of the BINDUMP utility
BINDUMP = ..\MISC.!!!\BINDUMP

##############################################################################

.asm.obj:
    tasm /m $<

##############################################################################

earth.exe:      bold.dmp earthmap.dmp santa.dmp sphere.inc earth.obj
                tlink /x earth
                pklite earth

##############################################################################

earthmap.dmp:   $(TGA_name)
                $(BINDUMP) $(TGA_name) earthmap.dmp MapOffset

##############################################################################

sphere.inc:     $(TGA_name)
                sphere $(TGA_name)

##############################################################################

santa.dmp:      santa.tga
                $(BINDUMP) santa.tga santa.dmp SantaOffset

##############################################################################

bold.dmp:       bold.fnt
                $(BINDUMP) bold.fnt bold.dmp FontData

##############################################################################
