summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortylermurphy534 <tylermurphy534@gmail.com>2022-09-22 18:35:11 -0400
committertylermurphy534 <tylermurphy534@gmail.com>2022-09-22 18:35:11 -0400
commit30d1fce59bebe7b28f2448db1a012b26bfb815ac (patch)
tree0265e81326692218bf8a835463bec15539a83636 /Makefile
parentupdate .gitmodules (diff)
downloadminecraftvulkan-30d1fce59bebe7b28f2448db1a012b26bfb815ac.tar.gz
minecraftvulkan-30d1fce59bebe7b28f2448db1a012b26bfb815ac.tar.bz2
minecraftvulkan-30d1fce59bebe7b28f2448db1a012b26bfb815ac.zip
add openal-soft and freealut as submodules
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8df8d0a..e13bf85 100644
--- a/Makefile
+++ b/Makefile
@@ -5,18 +5,19 @@ INCFLAGS += -Iengine
INCFLAGS += -Ilib/glfw/include
INCFLAGS += -Ilib/glm
INCFLAGS += -Ilib/stb
-INCFLAGS += -I/usr/include/AL
+INCFLAGS += -Ilib/openal-soft/include
+INCFLAGS += -Ilib/freealut/include
CCFLAGS = -std=c++17 -O2 -g
CCFLAGS += $(INCFLAGS)
LDFLAGS = -lm
-LDFLAGS += $(INCFLAGS)
LDFLAGS += -lglfw
LDFLAGS += -ldl
LDFLAGS += -lopenal
LDFLAGS += -lalut
LDFLAGS += -lvulkan
+LDFLAGS += $(INCFLAGS)
SRC = $(shell find src -name "*.cpp")
SRC += $(shell find engine -name "*.cpp")