Add sub module and source directory
This commit is contained in:
parent
653d4697d9
commit
7e99f4b204
4 changed files with 9 additions and 3 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "osh.h"]
|
||||||
|
path = osh.h
|
||||||
|
url = https://github.com/Oshgnacknak/osh.h
|
8
Makefile
8
Makefile
|
@ -1,6 +1,8 @@
|
||||||
LIBS=glfw3 glew
|
LIBS=glfw3 glew
|
||||||
CPPFLAGS=-Wall -Wextra $(shell pkg-config --cflags $(LIBS)) -ggdb -std=c++20
|
CPPFLAGS=-Wall -Wextra $(shell pkg-config --cflags $(LIBS)) -ggdb -std=c++20 -Iosh.h
|
||||||
LDLIBS=$(shell pkg-config --libs $(LIBS)) -lm
|
LDLIBS=$(shell pkg-config --libs $(LIBS)) -lm
|
||||||
|
|
||||||
hophop: hophop.cpp
|
CPP=$(wildcard src/*.cpp)
|
||||||
$(CXX) hophop.cpp -o hophop $(CPPFLAGS) $(LDLIBS)
|
|
||||||
|
hophop: $(CPP)
|
||||||
|
$(CXX) $^ -o hophop $(CPPFLAGS) $(LDLIBS)
|
||||||
|
|
1
osh.h
Submodule
1
osh.h
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 7743f77dfec8a722cbeba6aa6b87aa3e4a3903f1
|
Reference in a new issue