26 lines
435 B
Makefile
26 lines
435 B
Makefile
obj = sprites.o game.o bmpload.o arena.o movement.o combat.o
|
|
|
|
all: system/system.lib game.exe .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
|
|
|
|
clean: .SYMBOLIC
|
|
rm *.o
|
|
rm system/*.o
|
|
rm system/*.lib
|