|
CC = g++
|
|
|
|
UserInterface.o: lib/UserInterface.cpp lib/UserInterface.hpp
|
|
g++ -c lib/UserInterface.cpp -o UserInterface.o
|
|
|
|
BattleInterface.o: lib/BattleInterface.cpp lib/BattleInterface.hpp
|
|
g++ -c lib/BattleInterface.cpp -o BattleInterface.o
|
|
|
|
Spell.o: lib/Spell.cpp lib/Spell.hpp
|
|
g++ -c lib/Spell.cpp -o Spell.o
|
|
|
|
Character.o: lib/Character.cpp lib/Character.hpp
|
|
g++ -c lib/Character.cpp -o Character.o
|
|
|
|
main: Spell.o Character.o UserInterface.o BattleInterface.o main.cpp
|
|
g++ main.cpp -o main Spell.o Character.o UserInterface.o BattleInterface.o
|
|
|
|
clean: Spell.o Character.o UserInterface.o BattleInterface.o
|
|
rm Spell.o Character.o UserInterface.o BattleInterface.o
|
|
|
|
striped: Spell.o Character.o UserInterface.o BattleInterface.o main.cpp
|
|
g++ -s main.cpp -o main Spell.o Character.o UserInterface.o BattleInterface.o
|
|
|
|
all: Spell.o Character.o main
|