29 lines
722 B
Makefile
29 lines
722 B
Makefile
|
|
FPC = fpc
|
||
|
|
CONVBANNERS_SRC = convbanners.pas
|
||
|
|
|
||
|
|
BANNERS_SRC = completed.txt exit.txt keys.txt paused.txt menu.txt \
|
||
|
|
level.txt gameover.txt
|
||
|
|
|
||
|
|
GAME_SRC = _banners_m.pas arena_graphics_m.pas arena_m.pas \
|
||
|
|
ascii_arts_m.pas cell_m.pas creature_m.pas enemy_packs_m.pas \
|
||
|
|
game_m.pas ghost_m.pas gohamster.pas graphics_m.pas hamster_m.pas \
|
||
|
|
keys_m.pas level_m.pas math_m.pas sun_m.pas sun_fields_m.pas \
|
||
|
|
trace_m.pas snake_m.pas snake_fields_m.pas drop_m.pas drop_fields_m.pas
|
||
|
|
|
||
|
|
all: gohamster
|
||
|
|
|
||
|
|
play: gohamster
|
||
|
|
./gohamster
|
||
|
|
|
||
|
|
gohamster: $(GAME_SRC)
|
||
|
|
$(FPC) $@.pas
|
||
|
|
|
||
|
|
_banners_m.pas: convbanners $(BANNERS_SRC)
|
||
|
|
./convbanners
|
||
|
|
|
||
|
|
convbanners: $(CONVBANNERS_SRC)
|
||
|
|
$(FPC) $@.pas
|
||
|
|
|
||
|
|
clean:
|
||
|
|
rm *.o *.ppu convbanners _banners_m.pas gohamster
|