add openal-soft and freealut as submodules
This commit is contained in:
parent
888cdf15a9
commit
30d1fce59b
4 changed files with 11 additions and 2 deletions
6
.gitmodules
vendored
6
.gitmodules
vendored
|
@ -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
|
||||
|
|
5
Makefile
5
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")
|
||||
|
|
1
lib/freealut
Submodule
1
lib/freealut
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit fc814e316c2bfa6e05b723b8cc9cb276da141aae
|
1
lib/openal-soft
Submodule
1
lib/openal-soft
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit c52df6d78ab7131a543326cd2257f267036754e1
|
Loading…
Reference in a new issue