Makefile 970 B

1234567891011121314151617181920212223242526
  1. # Makefile for Animal Crossing GUI
  2. # Creates a folder containing the exe and associated files needed to run
  3. # the animal sorting program.
  4. #
  5. # Copyright 2022 Stephen Stengel <stephen.stengel@cwu.edu> and friends
  6. #
  7. # Will probably only work on Mac and Linux. No idea if Windows has Make.
  8. # Just copy paste the command on windows.
  9. sorter-gui:
  10. pyinstaller sorter-gui.py --windowed --add-data="settings.ini:." --add-data="checkpoint:checkpoint"
  11. #Comment the above and use this one instead on windows:
  12. #sorter-gui:
  13. # pyinstaller sorter-gui.py --windowed --add-data="settings.ini;." --add-data="checkpoint;checkpoint" --add-data="tux.ascii;."
  14. cmd:
  15. pyinstaller cmdsorting.py --distpath=cmddist --workpath=cmdbuild --add-data="settings.ini:." --add-data="checkpoint:checkpoint" --add-data="cmd-helpfile.txt:." --add-data="tux.ascii:."
  16. #This will not work on windows.
  17. .PHONY: clean
  18. clean:
  19. rm -rf dist build test-outputs/*/*.jpg test-outputs/* *.spec cmddist cmdbuild