1 odrivers = drv_oss.obj drv_wss.obj drv_ultra.obj drv_sb.obj drv_sdl.obj drv_nos.obj &
2 dossb.obj dosirq.obj dosgus.obj dosdma.obj doswss.obj
3 oloaders = load_s3m.obj load_mod.obj load_it.obj load_xm.obj
4 ommio = mmalloc.obj mmerror.obj mmio.obj
5 odepackers = mmcmp.obj pp20.obj s404.obj xpk.obj
6 oposix = memcmp.obj strcasecmp.obj strstr.obj
7 oplayercode = mdreg.obj mlreg.obj mloader.obj virtch_common.obj munitrk.obj mplayer.obj &
8 mlutil.obj sloader.obj npertab.obj virtch.obj mdulaw.obj mwav.obj virtch2.obj mdriver.obj
10 obj = $(odrivers) $(oloaders) $(ommio) $(odepackers) $(oposix) $(oplayercode)
14 opt = -5 -fp5 -otexan -zu
16 def = -DHAVE_CONFIG_H -DMIKMOD_BUILD
19 CFLAGS = $(dbg) $(opt) $(def) -zq -bt=dos -I. -Iinclude -Idrvdos
21 $(alib): cflags.occ $(obj)
22 %write objects.lbc $(obj)
23 wlib -b -n $@ @objects
25 .c: drivers;drvdos;loaders;mmio;depackers;posix;playercode
31 $(CC) -fo=$@ @cflags.occ $[*