obj = sprites.o game.o bmpload.o arena.o movement.o combat.o spawn.o const.o powerup.o test_obj = test.o spawn.o spawn_test.o powerup.o powerup_test.o const.o const_test.o combat.o combat_test.o all: system/system.lib game.exe test .SYMBOLIC system/system.lib: .SYMBOLIC cd system wmake cd .. .c.o: wcc386 -q -bt=dos $< .asm.o: wasm $< sprites.asm: sprtsht.bmp spritesheet.yml bin/build_spritesheet_asm.rb game.exe: $(obj) system/system.lib wcl386 -q -fe=game -bt=dos -l=dos4g $(obj) system/system.lib test: $(test_obj) system/system.lib .SYMBOLIC wcl386 -fe=test -bt=dos -l=dos4g $(test_obj) cutest-1.5/CuTest.c system/system.lib clean: .SYMBOLIC rm -f game.exe rm -f test.exe rm *.o rm *.err rm system/*.o rm system/*.lib rm system/*.err