dos-vga-arena-shooter-game/makefile
2024-02-28 12:50:57 -05:00

29 lines
575 B
Makefile

obj = sprites.o game.o bmpload.o arena.o movement.o combat.o spawn.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.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
clean: .SYMBOLIC
rm *.o
rm system/*.o
rm system/*.lib