# # -mh huge model # -d Merge duplicate strings # -N- Turn OFF stack overflow checking # -O optimize jumps # -r Use register variables # -Z enable register optimization # FLAGS=-mh -d -N- -O -r -Z -c -If:\tc\include # FLAGS = -c -w- DEFS = -DUSG -DMSDOS -DRB CC = \tc\bin\tcc MASM = masm PROGRAM = moria.exe LINKER = \tc\bin\tlink OBJS = create.obj \ creature.obj \ death.obj \ desc.obj \ dungeon.obj \ eat.obj \ files.obj \ generate.obj \ help.obj \ magic.obj \ main.obj \ misc1.obj \ misc2.obj \ misc3.obj \ misc4.obj \ monsters.obj \ moria1.obj \ moria2.obj \ moria3.obj \ moria4.obj \ ms_misc.obj \ player.obj \ potions.obj \ prayer.obj \ recall.obj \ rnd.obj \ save.obj \ scrolls.obj \ sets.obj \ signals.obj \ spells.obj \ staffs.obj \ store1.obj \ store2.obj \ tables.obj \ tcio.obj \ treasure.obj \ variable.obj \ wands.obj \ wizard.obj \ conio.obj .c.obj: $(CC) $(FLAGS) $(DEFS) $* .asm.obj: $(MASM) $*; $(PROGRAM): $(OBJS) tlink @umoria.lnk