summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2018-03-26 13:33:49 +0200
committerPaweł Redman <pawel.redman@gmail.com>2018-03-26 13:33:49 +0200
commit2ae4b0ff77a2b2be2c485ac3ba6c1ef3facb874c (patch)
treee810997d58165e41eb4225a522d9d8886849331c /Makefile
parent680ce5519c24dd0fa87ae85dd824000e915974b0 (diff)
Basic audio system + firing sound.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7719800..00c243d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
CC ?= gcc
CFLAGS += -g3 -O0 -Wall -std=gnu++14
CPPFLAGS += -MMD
-LDFLAGS += -lstdc++ -lm -lsfml-system -lsfml-window -lsfml-graphics
+LDFLAGS += -lstdc++ -lm -lsfml-system -lsfml-window -lsfml-graphics -lsfml-audio
PP_BOLD := $(shell tput bold)
PP_RESET := $(shell tput sgr0)
@@ -17,6 +17,7 @@ SRC := src/game/assets.cpp \
src/game/text.cpp \
src/game/units.cpp \
src/game/worldgen.cpp \
+ src/audio.cpp \
src/main.cpp \
src/path_finder.cpp \
src/procgen.cpp \