-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (23 loc) · 678 Bytes
/
Copy pathMakefile
File metadata and controls
29 lines (23 loc) · 678 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
CXX = g++
CXXFLAGS = -I include \
-I include/entities \
-I include/battle \
-I include/entities/player \
-I include/entities/player/classes \
-I include/entities/npc
SRCS = main.cpp \
src/ascii/UI.cpp \
src/battle/Battle.cpp \
src/entities/Character.cpp \
src/entities/player/Player.cpp \
src/entities/player/classes/Warrior.cpp \
src/entities/player/classes/Samurai.cpp \
src/entities/npc/Enemy.cpp \
src/entities/npc/EnemyFactory.cpp
TARGET = game
run: $(TARGET)
./$(TARGET)
$(TARGET): $(SRCS)
$(CXX) $(CXXFLAGS) $(SRCS) -o $(TARGET)
clean:
rm -f $(TARGET)