瀏覽代碼

revert to dynamic link

master
myitinos 5 年之前
父節點
當前提交
eff9f42355
共有 2 個文件被更改,包括 4 次插入7 次删除
  1. +4
    -7
      Makefile
  2. 二進制
      spell-warz

+ 4
- 7
Makefile 查看文件

@ -1,5 +1,3 @@
CC = g++
UserInterface.o: lib/UserInterface.cpp lib/UserInterface.hpp
g++ -c lib/UserInterface.cpp -o UserInterface.o
@ -12,11 +10,10 @@ 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++ -static main.cpp -o spell-warz Spell.o Character.o UserInterface.o BattleInterface.o
spell-warz-again: Spell.o Character.o UserInterface.o BattleInterface.o main.cpp
g++ main.cpp -o spell-warz-again Spell.o Character.o UserInterface.o BattleInterface.o
clean: Spellan>.lass="n">o lass="n">Character.o UserInterface.o BattleInterface.o
clean: all
rm Spell.o Character.o UserInterface.o BattleInterface.o
spell-warz-striped: Spell.o Character.o UserInterface.o BattleInterface.o main.cpp
g++ -static -s main.cpp -o spell-warz Spell.o Character.o UserInterface.o BattleInterface.o
all: spell-warz-again

二進制
spell-warz 查看文件


Loading…
取消
儲存