This commit is contained in:
sam 2024-05-12 10:11:09 +12:00
parent 621600bef1
commit ffa66bc4d5
2 changed files with 15 additions and 1 deletions

1
.gitignore vendored
View file

@ -2,4 +2,3 @@
obj/
bin/
build/
Makefile

15
Makefile Normal file
View file

@ -0,0 +1,15 @@
premake:
./premake5 gmake2
gearlib-debug: premake
make -C build config=debug
run: gearlib-debug
cd examples && ../bin/Debug/test/test
gearlib-release: premake
make -C build config=release
install: gearlib-release
cp include/* /usr/local/include -r
cp bin/Release/gearlib/libgearlib.a bin/Release/glfw/libglfw.a /usr/local/lib