add openal-soft and freealut as submodules

This commit is contained in:
tylermurphy534 2022-09-22 18:35:11 -04:00
parent 888cdf15a9
commit 30d1fce59b
4 changed files with 11 additions and 2 deletions

6
.gitmodules vendored
View file

@ -7,3 +7,9 @@
[submodule "stb"] [submodule "stb"]
path = lib/stb path = lib/stb
url = https://github.com/nothings/stb.git 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

View file

@ -5,18 +5,19 @@ INCFLAGS += -Iengine
INCFLAGS += -Ilib/glfw/include INCFLAGS += -Ilib/glfw/include
INCFLAGS += -Ilib/glm INCFLAGS += -Ilib/glm
INCFLAGS += -Ilib/stb INCFLAGS += -Ilib/stb
INCFLAGS += -I/usr/include/AL INCFLAGS += -Ilib/openal-soft/include
INCFLAGS += -Ilib/freealut/include
CCFLAGS = -std=c++17 -O2 -g CCFLAGS = -std=c++17 -O2 -g
CCFLAGS += $(INCFLAGS) CCFLAGS += $(INCFLAGS)
LDFLAGS = -lm LDFLAGS = -lm
LDFLAGS += $(INCFLAGS)
LDFLAGS += -lglfw LDFLAGS += -lglfw
LDFLAGS += -ldl LDFLAGS += -ldl
LDFLAGS += -lopenal LDFLAGS += -lopenal
LDFLAGS += -lalut LDFLAGS += -lalut
LDFLAGS += -lvulkan LDFLAGS += -lvulkan
LDFLAGS += $(INCFLAGS)
SRC = $(shell find src -name "*.cpp") SRC = $(shell find src -name "*.cpp")
SRC += $(shell find engine -name "*.cpp") SRC += $(shell find engine -name "*.cpp")

1
lib/freealut Submodule

@ -0,0 +1 @@
Subproject commit fc814e316c2bfa6e05b723b8cc9cb276da141aae

1
lib/openal-soft Submodule

@ -0,0 +1 @@
Subproject commit c52df6d78ab7131a543326cd2257f267036754e1