Bläddra i källkod

make now compile as static executable

master
myitinos 4 år sedan
förälder
incheckning
8e6c031ecb
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. +3
    -3
      Makefile

+ 3
- 3
Makefile Visa fil

@ -12,11 +12,11 @@ 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++ main.cpp -o spell-warz Spell.o Character.o UserInterface.o BattleInterface.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
clean: Spell.o Character.o UserInterface.o BattleInterface.o
rm Spell.o Character.o UserInterface.o BattleInterface.o
spell-warz-striped: Spell.o Character.o UserInterface.o BattleInterface.o main.cpp
g++ -s main.cpp -o spell-warz Spell.o Character.o UserInterface.o BattleInterface.o
g++ -static -s main.cpp -o spell-warz Spell.o Character.o UserInterface.o BattleInterface.o

Laddar…
Avbryt
Spara