Browse Source

make now compile as static executable

master
myitinos 5 years ago
parent
commit
8e6c031ecb
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      Makefile

+ 3
- 3
Makefile View File

@ -12,11 +12,11 @@ Spell.o: lib/Spell.cpp lib/Spell.hpp
Character.o: lib/Character.cpp lib/Character.hpp Character.o: lib/Character.cpp lib/Character.hpp
g++ -c lib/Character.cpp -o Character.o 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 clean: Spell.o Character.o UserInterface.o BattleInterface.o
rm 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 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

Loading…
Cancel
Save