From 30d1fce59bebe7b28f2448db1a012b26bfb815ac Mon Sep 17 00:00:00 2001 From: tylermurphy534 Date: Thu, 22 Sep 2022 18:35:11 -0400 Subject: [PATCH] add openal-soft and freealut as submodules --- .gitmodules | 6 ++++++ Makefile | 5 +++-- lib/freealut | 1 + lib/openal-soft | 1 + 4 files changed, 11 insertions(+), 2 deletions(-) create mode 160000 lib/freealut create mode 160000 lib/openal-soft 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 index 0000000..fc814e3 --- /dev/null +++ b/lib/freealut @@ -0,0 +1 @@ +Subproject commit fc814e316c2bfa6e05b723b8cc9cb276da141aae diff --git a/lib/openal-soft b/lib/openal-soft new file mode 160000 index 0000000..c52df6d --- /dev/null +++ b/lib/openal-soft @@ -0,0 +1 @@ +Subproject commit c52df6d78ab7131a543326cd2257f267036754e1