Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
love=${HOME}/.bin/love # location of love binary
zip=/usr/bin/zip # location of zip
luac=/usr/bin/luac # location of luac
# name of the .love
game=
# source files. if you have subdirectories, add */*.lua
sources=*.lua
# resource files like images, fonts and sounds.
res=
# test, make love and run
.PHONY : run
run : test $(game).love
$(love) $(game).love
# test for syntax errors
.PHONY : test
test :
$(luac) -p $(sources)
# make love!
.PHONY : love
love : $(game).love
$(game).love : $(sources) $(res)
$(zip) $(game).love $(sources) $(res)
.PHONY : clean
clean :
rm $(game).love
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.