Browse Source

revert to dynamic link

master
myitinos 8 months ago
parent
commit
672b7e456c
2 changed files with 4 additions and 5 deletions
  1. 4
    5
      Makefile
  2. BIN
      spell-warz

+ 4
- 5
Makefile View File

@@ -1,6 +1,3 @@
1
-CC = g++
2
-CFLAGS = 
3
-
4 1
 Spell.o: lib/Spell.cpp lib/Spell.hpp
5 2
 	g++ -c lib/Spell.cpp -o Spell.o
6 3
 
@@ -8,7 +5,9 @@ Character.o: lib/Character.cpp lib/Character.hpp
8 5
 	g++ -c lib/Character.cpp -o Character.o
9 6
 
10 7
 spell-warz: Spell.o Character.o main.cpp lib/Character.hpp lib/Spell.hpp
11
-	g++ -static main.cpp -o spell-warz Spell.o Character.o
8
+	g++ main.cpp -o spell-warz Spell.o Character.o
9
+
10
+all: spell-warz
12 11
 
13
-clean: 
12
+clean:
14 13
 	rm *.o

BIN
spell-warz View File


Loading…
Cancel
Save