瀏覽代碼

make now compile as static executable

master
myitinos 4 年之前
父節點
當前提交
8e6c031ecb
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      Makefile

+ 3
- 3
Makefile 查看文件

@ -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

Loading…
取消
儲存