home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 1
/
GoldFishApril1994_CD1.img
/
d1xx
/
d190
/
nethack
/
een.zoo
/
makefile
< prev
next >
Wrap
Makefile
|
1988-07-28
|
9KB
|
268 lines
# Hack Makefile.
# SCCS Id: @(#)Makefile.Amiga 2.3 88/07/10
# Options: (case insignificant)
# +q string literals to data segment
# +l long (32 bit) integers
# +c large code (i.e. not pc-relative)
# +d large data (i.e. not relative to A4)
# +i include precompiled symbol table
# library: cl (compiled with +cd)
# using the ARP setdate command as a touch-replacement.
1= een:
2= twee:
E= een\:
T= twee\:
O =
C = cc +cI$Osyms -DAMIGA -o# $Oxxx.o $1xxx.c
.PRECIOUS: $1onames.h $Orumors $Odata $1date.h $1trap.h
MAIN = $1pcmain.c
TTY = $1amiga/amigaTTY.c
UNIX = $1amiga/amigaUnix.c
TERM = $1amiga/amigaTermcap.c
DOS = $1amiga/amigaDos.c
# make NetHack
GAME = nethack
AUX = help hh nethack.6 nethack.sh
VARAUX = data rumors
HOBJ = $OamigaTermcap.o $OamigaWindow.o $OamigaTTY.o \
$OamigaDos.o $OamigaUnix.o \
$Oalloc.o $Obones.o $Odog.o $Odothrow.o $Opcmain.o \
$Omkmaze.o $Omkobj.o $Omkshop.o \
$Omonst.o $Oo_init.o $Opolyself.o $Opray.o $Opri.o \
$Orip.o $Ornd.o $Orumors.o \
$Osearch.o $Osit.o $Osteal.o $Otimeout.o \
$Otopl.o $Otrack.o $Ovault.o \
$Oversion.o $Owield.o $Owizard.o $Oworm.o $Oworn.o \
$Oapply.o $Ocmd.o $Odecl.o $Odo.o $Odo_name.o $Odo_wear.o \
$Odogmove.o $Oeat.o $Oend.o $Oengrave.o $Ofight.o $Ofountain.o \
$Ohack.o $Oinvent.o $Olev.o $Omakemon.o \
$Omhitu.o $Omklev.o $Omon.o $Omonmove.o $Oobjnam.o \
$Ooptions.o $Opager.o $Opotion.o $Oprisym.o $Oread.o \
$Osave.o $Oshk.o $Oshknam.o $Ospell.o \
$Otopten.o $Otrap.o $Ou_init.o $Owrite.o $Ozap.o
$(GAME): $(HOBJ)
cd $O
ln -f hack.lnk
$Osyms: $1hack.h $1objects.h $1amiga/stdio.h makedefs
cc +cH$Osyms -DAMIGA -ao $Oxxx@ $1amiga/include.c
delete $Oxxx@
l syms
$Omakedefs: $Omakedefs.o $Oalloc.o
cd $O
ln -o makedefs alloc.o makedefs.o -lc
$Omakedefs.o: $1makedefs.c $1config.h
cc +c -DAMIGA -o $Omakedefs.o $1makedefs.c
RUMORFILES= $1rumors.base $1rumors.kaa $1rumors.mrx
$Orumors: $1config.h $(RUMORFILES) $Omakedefs
copy $1rumors.base rumors.base
copy $1rumors.kaa rumors.kaa
copy $1rumors.mrx rumors.mrx
makedefs -r
copy rumors $1rumors
$Odata: $1config.h $1data.base $Omakedefs
copy $1data.base data.base
makedefs -d
copy data $1data
$Edate.h: $Omakedefs $(MAIN) $(TTY) $(UNIX) $(TERM) $(DOS) $1amiga/amigaWindow.c
copy $1date.h date.h
makedefs -D
copy date.h $1date.h
$Etrap.h: $1config.h $Omakedefs
copy $1trap.h trap.h
makedefs -t
copy trap.h $1trap.h
$Eonames.h: $Omakedefs $1objects.h
copy $1objects.h objects.h
makedefs -o
copy onames.h $1onames.h
$OamigaUnix.o: $1amiga/amigaUnix.c $1hack.h $Osyms
$C $OamigaUnix.o $1amiga/amigaUnix.c
$OamigaTermcap.o: $1amiga/amigaTermcap.c $1hack.h $Osyms
$C $OamigaTermcap.o $1amiga/amigaTermcap.c
$OamigaWindow.o: $1amiga/amigaWindow.c $1amiga/amigaMenu.c $Osyms
$C $OamigaWindow.o $1amiga/amigaWindow.c +m
$OamigaTTY.o: $1amiga/amigaTTY.c $1hack.h $1func_tab.h $Osyms
$C $OamigaTTY.o $1amiga/amigaTTY.c
$OamigaDos.o: $1amiga/amigaDos.c $1hack.h $Osyms
$C $OamigaDos.o $1amiga/amigaDos.c
clean:
delete *.o
spotless: clean
delete $(GAME) makedefs
delete $(VARAUX) main.c tty.c unix.c
depend: # Should put one source disk in df0: and other in df1:
mkd -Idf0: -Idf1: -m df0:*.(c|h) df1:*.(c|h)
# You may delete this line
$Eobjects.h: $1config.h $1objclass.h
setdate $1objects.h
$Omakemon.o: $2makemon.c $1hack.h $Osyms
$C $Omakemon.o $2makemon.c
$Ohack.o: $2hack.c $1hack.h $Osyms
$C $Ohack.o $2hack.c
$Omon.o: $2mon.c $1hack.h $1mfndpos.h $Osyms
$C $Omon.o $2mon.c
$Ounixtty.o: $2unixtty.c $1extern.h $1hack.h $1func_tab.h $Osyms
$C $Ounixtty.o $2unixtty.c
$Ounixunix.o: $2unixunix.c $1hack.h $1mkroom.h $Osyms
$C $Ounixunix.o $2unixunix.c
$Oinvent.o: $2invent.c $1hack.h $1wseg.h $Osyms
$C $Oinvent.o $2invent.c
$Ozap.o: $2zap.c $1hack.h $Osyms
$C $Ozap.o $2zap.c
$Ou_init.o: $2u_init.c $1hack.h $Osyms
$C $Ou_init.o $2u_init.c
$Ofountain.o: $2fountain.c $1hack.h $1mkroom.h $Osyms
$C $Ofountain.o $2fountain.c
$Omonmove.o: $2monmove.c $1hack.h $1mfndpos.h $Osyms
$C $Omonmove.o $2monmove.c
$Odo.o: $2do.c $1hack.h $Osyms
$C $Odo.o $2do.c
$Ofight.o: $2fight.c $1hack.h $Osyms
$C $Ofight.o $2fight.c
$Ooptions.o: $2options.c $1config.h $1hack.h $Osyms
$C $Ooptions.o $2options.c
$Oread.o: $2read.c $1hack.h $Osyms
$C $Oread.o $2read.c
$Odecl.o: $2decl.c $1hack.h $1mkroom.h $Osyms
$C $Odecl.o $2decl.c
$Odo_wear.o: $2do_wear.c $1hack.h $Osyms
$C $Odo_wear.o $2do_wear.c
$Opotion.o: $2potion.c $1hack.h $Osyms
$C $Opotion.o $2potion.c
$Odogmove.o: $2dogmove.c $1hack.h $1mfndpos.h $1mkroom.h $1edog.h $Osyms
$C $Odogmove.o $2dogmove.c
$Oshknam.o: $2shknam.c $1hack.h $1mkroom.h $1eshk.h $Osyms
$C $Oshknam.o $2shknam.c
$Otopten.o: $2topten.c $1hack.h $Osyms
$C $Otopten.o $2topten.c -E200
$Oeat.o: $2eat.c $1hack.h $Osyms
$C $Oeat.o $2eat.c
$Oobjnam.o: $2objnam.c $1hack.h $Osyms
$C $Oobjnam.o $2objnam.c
$Opager.o: $2pager.c $1hack.h $Osyms
$C $Opager.o $2pager.c
$Omklev.o: $2mklev.c $1hack.h $1mkroom.h $Osyms
$C $Omklev.o $2mklev.c -E300
$Odo_name.o: $2do_name.c $1hack.h $Osyms
$C $Odo_name.o $2do_name.c
$Oapply.o: $2apply.c $1hack.h $1edog.h $1mkroom.h $Osyms
$C $Oapply.o $2apply.c
$Omhitu.o: $2mhitu.c $1hack.h $Osyms
$C $Omhitu.o $2mhitu.c
$Ospell.o: $2spell.c $1hack.h $Osyms
$C $Ospell.o $2spell.c
$Oprisym.o: $2prisym.c $1hack.h $1wseg.h $Osyms
$C $Oprisym.o $2prisym.c
$Olev.o: $2lev.c $1hack.h $1mkroom.h $1wseg.h $Osyms
$C $Olev.o $2lev.c
$Owrite.o: $2write.c $1hack.h $Osyms
$C $Owrite.o $2write.c
$Oshk.o: $2shk.c $1hack.h $1mfndpos.h $1mkroom.h $1eshk.h $Osyms
$C $Oshk.o $2shk.c
$Oengrave.o: $2engrave.c $1hack.h $Osyms
$C $Oengrave.o $2engrave.c
$Oend.o: $2end.c $1hack.h $Osyms
$C $Oend.o $2end.c
$Ocmd.o: $2cmd.c $1hack.h $1func_tab.h $Osyms
$C $Ocmd.o $2cmd.c
$Osave.o: $2save.c $1hack.h $Osyms
$C $Osave.o $2save.c
$Otrap.o: $2trap.c $1hack.h $1edog.h $1mkroom.h $Osyms
$C $Otrap.o $2trap.c
#Other disk starts here
$Oworm.o: $1worm.c $1hack.h $1wseg.h $Osyms
$C $Oworm.o $1worm.c
$Omkobj.o: $1mkobj.c $1hack.h $Osyms
$C $Omkobj.o $1mkobj.c
$Ehack.h: $1extern.h $1objclass.h $1monst.h $1gold.h $1trap.h $1flag.h $1rm.h
setdate $1hack.h
$Eyou.h: $1config.h $1onames.h $1permonst.h
setdate $1you.h
$Opcmain.o: $1pcmain.c $1hack.h $Osyms
$C $Opcmain.o $1pcmain.c
$Opolyself.o: $1polyself.c $1hack.h $Osyms
$C $Opolyself.o $1polyself.c
$Orumors.o: $1rumors.c $1hack.h $Osyms
$C $Orumors.o $1rumors.c
$Otrack.o: $1track.c $1hack.h $Osyms
$C $Otrack.o $1track.c
$Otopl.o: $1topl.c $1hack.h $Osyms
$C $Otopl.o $1topl.c
$Oo_init.o: $1o_init.c $1config.h $1objects.h $1onames.h $Osyms
$C $Oo_init.o $1o_init.c -Z6000 +Q
$Owizard.o: $1wizard.c $1hack.h $Osyms
$C $Owizard.o $1wizard.c
$Ornd.o: $1rnd.c $1config.h $Osyms
$C $Ornd.o $1rnd.c
$Omkmaze.o: $1mkmaze.c $1hack.h $1mkroom.h $Osyms
$C $Omkmaze.o $1mkmaze.c
$Otimeout.o: $1timeout.c $1hack.h $Osyms
$C $Otimeout.o $1timeout.c
$Oworn.o: $1worn.c $1hack.h $Osyms
$C $Oworn.o $1worn.c
$Ounixmain.o: $1unixmain.c $1hack.h $Osyms
$C $Ounixmain.o $1unixmain.c
$Ovault.o: $1vault.c $1hack.h $1mkroom.h $Osyms
$C $Ovault.o $1vault.c
$Opctty.o: $1pctty.c $1hack.h $1func_tab.h $Osyms
$C $Opctty.o $1pctty.c
$Opcunix.o: $1pcunix.c $1hack.h $Osyms
$C $Opcunix.o $1pcunix.c
$Omonst.o: $1monst.c $1hack.h $1eshk.h $Osyms
$C $Omonst.o $1monst.c
$Osit.o: $1sit.c $1hack.h $Osyms
$C $Osit.o $1sit.c
$Omkshop.o: $1mkshop.c $1hack.h $1mkroom.h $Osyms
$C $Omkshop.o $1mkshop.c
$Odog.o: $1dog.c $1hack.h $1edog.h $1mkroom.h $Osyms
$C $Odog.o $1dog.c
$Osteal.o: $1steal.c $1hack.h $Osyms
$C $Osteal.o $1steal.c
$Orip.o: $1rip.c $1hack.h $Osyms
$C $Orip.o $1rip.c +Q
$Oalloc.o: $1alloc.c
cc +c -DAMIGA -DDGK -o $Oalloc.o $1alloc.c
$Obones.o: $1bones.c $1hack.h $1amiga/fcntl.h $Osyms
$C $Obones.o $1bones.c
$Osearch.o: $1search.c $1hack.h $Osyms
$C $Osearch.o $1search.c
$Owield.o: $1wield.c $1hack.h $Osyms
$C $Owield.o $1wield.c
$Oversion.o: $1version.c $1hack.h $1date.h $Osyms
$C $Oversion.o $1version.c
$Eextern.h: $1config.h $1spell.h $1obj.h $1you.h
setdate $1extern.h
$Opray.o: $1pray.c $1hack.h $Osyms
$C $Opray.o $1pray.c
$Opri.o: $1pri.c $1hack.h $Osyms
$C $Opri.o $1pri.c
$Odothrow.o: $1dothrow.c $1hack.h $Osyms
$C $Odothrow.o $1dothrow.c