Add sub module and source directory

This commit is contained in:
Oshgnacknak 2021-12-29 13:51:22 +01:00
parent 653d4697d9
commit 7e99f4b204
Signed by: Oshgnacknak
GPG key ID: 8CB7375654585956
4 changed files with 9 additions and 3 deletions

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "osh.h"]
path = osh.h
url = https://github.com/Oshgnacknak/osh.h

View file

@ -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

@ -0,0 +1 @@
Subproject commit 7743f77dfec8a722cbeba6aa6b87aa3e4a3903f1