2024-02-28 17:50:57 +00:00
|
|
|
obj = sprites.o game.o bmpload.o arena.o movement.o combat.o spawn.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-02-28 17:50:57 +00:00
|
|
|
test: test.c spawn_test.c spawn.c .SYMBOLIC
|
|
|
|
wcl386 -fe=test -bt=dos -l=dos4g test.c spawn.c spawn_test.c cutest-1.5/CuTest.c
|
|
|
|
|
2024-02-20 13:00:13 +00:00
|
|
|
clean: .SYMBOLIC
|
|
|
|
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
|