瀏覽代碼

updated makefile

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

+ 4
- 6
Makefile 查看文件

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

Loading…
取消
儲存