소스 검색

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

불러오는 중...
취소
저장