2024-03-01 02:29:23 +00:00
|
|
|
obj = sprites.o game.o bmpload.o arena.o movement.o combat.o spawn.o const.o powerup.o
|
2024-03-01 12:55:01 +00:00
|
|
|
test_obj = test.o spawn.o spawn_test.o powerup.o powerup_test.o const.o const_test.o combat.o combat_test.o
|
2024-02-20 13:00:13 +00:00
|
|
|
|
2024-02-28 17:50:57 +00:00
|
|
|
all: system/system.lib game.exe test .SYMBOLIC
|
2024-02-20 13:00:13 +00:00
|
|
|
|
|
|
|
system/system.lib: .SYMBOLIC
|
|
|
|
cd system
|
|
|
|
wmake
|
|
|
|
cd ..
|
2024-02-15 13:34:50 +00:00
|
|
|
|
2024-02-16 02:18:15 +00:00
|
|
|
.c.o:
|
2024-02-20 13:00:13 +00:00
|
|
|
wcc386 -q -bt=dos $<
|
2024-02-16 02:18:15 +00:00
|
|
|
|
2024-02-24 02:29:36 +00:00
|
|
|
.asm.o:
|
|
|
|
wasm $<
|
|
|
|
|
2024-02-24 15:38:46 +00:00
|
|
|
sprites.asm: sprtsht.bmp spritesheet.yml
|
|
|
|
bin/build_spritesheet_asm.rb
|
|
|
|
|
2024-02-20 17:39:28 +00:00
|
|
|
game.exe: $(obj) system/system.lib
|
2024-02-27 01:40:05 +00:00
|
|
|
wcl386 -q -fe=game -bt=dos -l=dos4g $(obj) system/system.lib
|
2024-02-20 13:00:13 +00:00
|
|
|
|
2024-03-01 02:29:23 +00:00
|
|
|
test: $(test_obj) system/system.lib .SYMBOLIC
|
|
|
|
wcl386 -fe=test -bt=dos -l=dos4g $(test_obj) cutest-1.5/CuTest.c system/system.lib
|
2024-02-28 17:50:57 +00:00
|
|
|
|
2024-02-20 13:00:13 +00:00
|
|
|
clean: .SYMBOLIC
|
2024-03-01 02:29:23 +00:00
|
|
|
rm -f game.exe
|
|
|
|
rm -f test.exe
|
2024-02-20 13:00:13 +00:00
|
|
|
rm *.o
|
2024-02-28 18:10:57 +00:00
|
|
|
rm *.err
|
2024-02-20 13:00:13 +00:00
|
|
|
rm system/*.o
|
|
|
|
rm system/*.lib
|
2024-03-01 02:29:23 +00:00
|
|
|
rm system/*.err
|