23 lines
345 B
Makefile
23 lines
345 B
Makefile
obj = game.o bmpload.o arena.o movement.o sprites.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 $<
|
|
|
|
game.exe: $(obj) system/system.lib
|
|
wcl386 -q -bt=dos -l=dos4g $(obj) system/system.lib
|
|
|
|
clean: .SYMBOLIC
|
|
rm *.o
|
|
rm system/*.o
|
|
rm system/*.lib
|