all: opentest struct playtest copyfile videodemux playcd fix

opentest : opentest.o
	slink opentest.o to opentest

opentest.o : opentest.c
	sc data=far nostkchk opentest.c

playtest : playtest.o asyncio.o
	slink playtest.o asyncio.o to playtest lib lib:amiga.lib lib:sc.lib

playtest.o : playtest.c
	sc data=far nostkchk playtest.c

fix : fix.o asyncio.o
	slink fix.o asyncio.o to fix lib lib:amiga.lib lib:sc.lib

fix.o : fix.c
	sc data=far nostkchk fix.c

stresstest : stresstest.o asyncio.o
	slink stresstest.o asyncio.o to stresstest lib lib:amiga.lib lib:sc.lib

stresstest.o : stresstest.c
	sc data=far nostkchk stresstest.c

playcd : playcd.o foo.o 24bit.o
	slink playcd.o foo.o 24bit.o to playcd lib lib:amiga.lib lib:scm.lib lib:sc.lib lib:debug.lib

playcd.o : playcd.c
	sc data=far nostkchk playcd.c

24bit.o : 24bit.c
	sc data=far nostkchk 24bit.c

foo.o : foo.asm
	hx68 -a foo.asm -o foo.o

cdplay : cdplay.o
	slink cdplay.o to cdplay lib lib:amiga.lib

cdplay.o : cdplay.c
	sc data=far cpu=68020 nostkchk cdplay.c

slowtest : slowtest.o asyncio.o
	slink slowtest.o asyncio.o to slowtest lib lib:sc.lib lib:debug.lib lib:amiga.lib

slowtest.o : slowtest.c
	sc data=far nostkchk slowtest.c

copyfile : copyfile.o
	slink copyfile.o to copyfile

copyfile.o : copyfile.c
	sc data=far nostkchk copyfile.c

videodemux : videodemux.o asyncio.o
	slink videodemux.o /demux.o asyncio.o to videodemux lib lib:amiga.lib lib:sc.lib

videodemux.o : videodemux.c
	sc data=far nostkchk videodemux.c

struct : struct.o
	slink struct.o to struct

struct.o : struct.c /cl450.h
	sc data=far nostkchk struct.c

asyncio.o : asyncio.c asyncio.h
	sc data=far nostkchk asyncio.c
