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.

22 lines
866 B

5 years ago
5 years ago
5 years ago
5 years ago
  1. CC = g++
  2. UserInterface.o: lib/UserInterface.cpp lib/UserInterface.hpp
  3. g++ -c lib/UserInterface.cpp -o UserInterface.o
  4. BattleInterface.o: lib/BattleInterface.cpp lib/BattleInterface.hpp
  5. g++ -c lib/BattleInterface.cpp -o BattleInterface.o
  6. Spell.o: lib/Spell.cpp lib/Spell.hpp
  7. g++ -c lib/Spell.cpp -o Spell.o
  8. Character.o: lib/Character.cpp lib/Character.hpp
  9. g++ -c lib/Character.cpp -o Character.o
  10. spell-warz: Spell.o Character.o UserInterface.o BattleInterface.o main.cpp
  11. g++ -static main.cpp -o spell-warz Spell.o Character.o UserInterface.o BattleInterface.o
  12. clean: Spell.o Character.o UserInterface.o BattleInterface.o
  13. rm Spell.o Character.o UserInterface.o BattleInterface.o
  14. spell-warz-striped: Spell.o Character.o UserInterface.o BattleInterface.o main.cpp
  15. g++ -static -s main.cpp -o spell-warz Spell.o Character.o UserInterface.o BattleInterface.o