the-maze/Makefile
File Type: text/x-makefile
freebasic = fbc -w all -lang qb
out := out
all: game edit data
$(out):
mkdir $(out)
game: $(out)/game
$(out)/game: | $(out)
$(freebasic) game.bas && mv game $(out)/
edit: $(out)/edit
$(out)/edit: | $(out)
$(freebasic) edit.bas && mv edit $(out)/
data: | $(out)
cp game.ini editor.ini world1.dat $(out)/
clean:
rm -rf $(out)
.PHONY: game edit data all clean