makefile 925 B

12345678910111213141516171819202122232425262728293031323334
  1. all: .build .build/bulletheck_win64.zip .build/bulletheck.love .build/bulletheck.zip
  2. .build:
  3. mkdir .build
  4. .build/bulletheck_win64.zip: .build/bulletheck.love .build/love-11.1-win64.zip
  5. cd .build; \
  6. rm -r love-11.1.0-win64 || true; \
  7. rm -r bulletheck_win64 || true; \
  8. unzip love-11.1-win64.zip; \
  9. cd love-11.1.0-win64; \
  10. cat love.exe ../bulletheck.love > bulletheck.exe; \
  11. rm love.exe lovec.exe; \
  12. cp ../../LICENSE GAME_LICENSE; \
  13. cd ..; \
  14. mv love-11.1.0-win64/ bulletheck_win64; \
  15. zip -r bulletheck_win64.zip bulletheck_win64
  16. .build/bulletheck.zip: .build/bulletheck.love
  17. cd .build; \
  18. rm -r bulletheck || true; \
  19. mkdir bulletheck || true; \
  20. cp ../LICENSE bulletheck.love bulletheck; \
  21. zip -r bulletheck.zip bulletheck
  22. .build/bulletheck.love: FORCE
  23. zip -r .build/bulletheck.love *
  24. .build/love-11.1-win64.zip:
  25. cd .build; \
  26. wget https://bitbucket.org/rude/love/downloads/love-11.1-win64.zip
  27. FORCE: