A Java recreation of the classic game Robot Odyssey optimized for linux
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 791B

1234567891011121314151617181920212223242526272829303132
  1. CC = gcc
  2. MV = mvn
  3. CFLAGS=-Wall -Werror -ggdb
  4. BIN=DroidQuest
  5. JAR=dq-2.8.jar
  6. all:
  7. $(CC) $(CFLAGS) dq.c -o dq.o
  8. $(CC) $(CFLAGS) dq.c -o $(BIN)
  9. $(MV) install
  10. install:
  11. mkdir -vp /usr/share/DroidQuest/chips
  12. cp -v src/main/resources/chips/* /usr/share/DroidQuest/chips/
  13. cp -v target/$(JAR) /usr/share/DroidQuest/$(JAR)
  14. cp -v $(BIN) /usr/bin/$(BIN)
  15. cp -v DroidQuest.png /usr/share/pixmaps/DroidQuest.png
  16. cp -v DroidQuest.desktop /usr/share/applications/DroidQuest.desktop
  17. uninstall:
  18. rm -v /usr/share/DroidQuest/chips/*
  19. rm -v /usr/share/DroidQuest/$(JAR)
  20. rmdir -v /usr/share/DroidQuest/chips
  21. rmdir -v /usr/share/DroidQuest
  22. rm -v /usr/bin/$(BIN)
  23. rm -v /usr/share/pixmaps/DroidQuest.png
  24. rm -v /usr/share/applications/DroidQuest.desktop
  25. clean:
  26. rm -vR -f *.o *.~ target DroidQuest