|
|
@ -1,5 +1,3 @@ |
|
|
|
CC = g++ |
|
|
|
|
|
|
|
UserInterface.o: lib/UserInterface.cpp lib/UserInterface.hpp |
|
|
|
g++ -c lib/UserInterface.cpp -o UserInterface.o |
|
|
|
|
|
|
@ -12,11 +10,10 @@ Spell.o: lib/Spell.cpp lib/Spell.hpp |
|
|
|
Character.o: lib/Character.cpp lib/Character.hpp |
|
|
|
g++ -c lib/Character.cpp -o Character.o |
|
|
|
|
|
|
|
spell-warz: Spell.o Character.o UserInterface.o BattleInterface.o main.cpp |
|
|
|
g++ -static main.cpp -o spell-warz Spell.o Character.o UserInterface.o BattleInterface.o |
|
|
|
spell-warz-again: Spell.o Character.o UserInterface.o BattleInterface.o main.cpp |
|
|
|
g++ main.cpp -o spell-warz-again Spell.o Character.o UserInterface.o BattleInterface.o |
|
|
|
|
|
|
|
clean: Spellan>.lass="n">o lass="n">Character.o UserInterface.o BattleInterface.o |
|
|
|
clean: all |
|
|
|
rm Spell.o Character.o UserInterface.o BattleInterface.o |
|
|
|
|
|
|
|
spell-warz-striped: Spell.o Character.o UserInterface.o BattleInterface.o main.cpp |
|
|
|
g++ -static -s main.cpp -o spell-warz Spell.o Character.o UserInterface.o BattleInterface.o |
|
|
|
all: spell-warz-again |