|
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 main.cpp
|
|
g++ main.cpp -o main Spell.o Character.o UserInterface.o
|
|
|
|
clean: Spell.o Character.o UserInterface.o
|
|
rm Spell.o Character.o UserInterface.o
|
|
|
|
striped: Spell.o Character.o main.cpp
|
|
g++ -s main.cpp -o main Spell.o Character.o UserInterface.o
|
|
|
|
all: Spell.o Character.o main
|