summaryrefslogtreecommitdiff
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
parentupdate .gitmodules (diff)
downloadminecraftvulkan-30d1fce59bebe7b28f2448db1a012b26bfb815ac.tar.gz
minecraftvulkan-30d1fce59bebe7b28f2448db1a012b26bfb815ac.tar.bz2
minecraftvulkan-30d1fce59bebe7b28f2448db1a012b26bfb815ac.zip
add openal-soft and freealut as submodules
-rw-r--r--.gitmodules6
-rw-r--r--Makefile5
m---------lib/freealut0
m---------lib/openal-soft0
4 files changed, 9 insertions, 2 deletions
diff --git a/.gitmodules b/.gitmodules
index c48bf84..60e63c5 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -7,3 +7,9 @@
[submodule "stb"]
path = lib/stb
url = https://github.com/nothings/stb.git
+[submodule "lib/openal-soft"]
+ path = lib/openal-soft
+ url = https://github.com/kcat/openal-soft.git
+[submodule "lib/freealut"]
+ path = lib/freealut
+ url = https://github.com/vancegroup/freealut.git
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")
diff --git a/lib/freealut b/lib/freealut
new file mode 160000
+Subproject fc814e316c2bfa6e05b723b8cc9cb276da141aa
diff --git a/lib/openal-soft b/lib/openal-soft
new file mode 160000
+Subproject c52df6d78ab7131a543326cd2257f267036754e