all: bofh.exe bofhedit.exe

bofh.exe: actor.obj bofh.obj bomb.obj enemy.obj init.obj sincos.obj bme.lib
	bcc32 -O2 -a1 -tW bofh.obj actor.obj bomb.obj enemy.obj init.obj sincos.obj bme.lib
	copy bofh.exe ..\bin

bofhedit.exe: bofhedit.obj bme.lib
	bcc32 -O2 -a1 -tW bofhedit.obj bme.lib
	copy bofhedit.exe ..\bin

actor.obj: actor.c
	bcc32 -c -O2 -a1 actor.c

bofh.obj: bofh.c
	bcc32 -c -O2 -a1 bofh.c

bomb.obj: bomb.c
	bcc32 -c -O2 -a1 bomb.c

enemy.obj: enemy.c
	bcc32 -c -O2 -a1 enemy.c

init.obj: init.c
	bcc32 -c -O2 -a1 init.c

sincos.obj: sincos.c
	bcc32 -c -O2 -a1 sincos.c

bofhedit.obj: bofhedit.c
	bcc32 -c -O2 -a1 bofhedit.c
