aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYour Name <you@example.com>2021-04-15 15:23:23 -0400
committerYour Name <you@example.com>2021-04-15 15:23:23 -0400
commitdfce4d0398a8bafbb7ad7a31345af181c0269c09 (patch)
tree695162ff8cc25e146f52d9e26fe19ffa9934b3d6 /Makefile
parent9034c3d2533177f7cb7a7ce939ec53f7fa63f60e (diff)
downloaddmtool-dfce4d0398a8bafbb7ad7a31345af181c0269c09.tar.gz
dmtool-dfce4d0398a8bafbb7ad7a31345af181c0269c09.tar.bz2
dmtool-dfce4d0398a8bafbb7ad7a31345af181c0269c09.zip
Added spells
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile25
1 files changed, 11 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index 6e018e5..a83080a 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ CC=g++
LIBS=
CFLAGS=-c -Wall -fPIC -std=c++20
LDFLAGS=
-SOURCES=src/armor.cc src/creature.cc src/dmtool.cc src/feature.cc src/item.cc src/test.cc src/utils.cc src/weapon.cc
+SOURCES=src/creature.cc src/dmtool.cc src/feature.cc src/item.cc src/test.cc src/utils.cc src/weapon.cc
OBJECTS=$(SOURCES:.cc=.o)
LIBRARY=
EXECUTABLE=test
@@ -16,36 +16,33 @@ $(EXECUTABLE): $(OBJECTS)
$(CC) $(OBJECTS) -o $@ $(LDFLAGS)
-src/armor.o: src/armor.cc src/json.hpp src/armor.h src/item.h \
- src/jsonable.h
- $(CC) $(CFLAGS) $< -o $@
-
src/creature.o: src/creature.cc src/creature.h src/json.hpp \
- src/jsonable.h src/dice.h src/rules.h src/feature.h src/weapon.h \
- src/item.h src/armor.h
+ src/jsonable.h src/utils.h src/settings.h src/dice.h src/rules.h \
+ src/feature.h src/weapon.h src/item.h src/armor.h
$(CC) $(CFLAGS) $< -o $@
src/dmtool.o: src/dmtool.cc src/creature.h src/json.hpp src/jsonable.h \
- src/feature.h
+ src/utils.h src/settings.h src/feature.h
$(CC) $(CFLAGS) $< -o $@
-src/feature.o: src/feature.cc src/json.hpp src/feature.h src/jsonable.h
+src/feature.o: src/feature.cc src/json.hpp src/feature.h src/jsonable.h \
+ src/utils.h src/settings.h src/spellcasting.h src/spell.h
$(CC) $(CFLAGS) $< -o $@
src/item.o: src/item.cc src/json.hpp src/item.h src/jsonable.h \
- src/weapon.h src/armor.h src/utils.h
+ src/utils.h src/settings.h src/weapon.h src/armor.h
$(CC) $(CFLAGS) $< -o $@
src/test.o: src/test.cc src/creature.h src/json.hpp src/jsonable.h \
- src/feature.h src/rules.h src/utils.h src/item.h src/armor.h \
- src/weapon.h
+ src/utils.h src/settings.h src/feature.h src/rules.h src/item.h \
+ src/armor.h src/weapon.h
$(CC) $(CFLAGS) $< -o $@
-src/utils.o: src/utils.cc src/utils.h src/json.hpp
+src/utils.o: src/utils.cc src/utils.h src/json.hpp src/settings.h
$(CC) $(CFLAGS) $< -o $@
src/weapon.o: src/weapon.cc src/json.hpp src/weapon.h src/item.h \
- src/jsonable.h src/creature.h
+ src/jsonable.h src/utils.h src/settings.h src/creature.h
$(CC) $(CFLAGS) $< -o $@
clean: