diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6011de2 --- /dev/null +++ b/Makefile @@ -0,0 +1,27 @@ +########################### + +#linux +CMAKE=cmake + +#win +CMAKE=/mnt/d/PROG/Microsoft\ Visual\ Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe + +.PHONY: run-debug run-release clean + +run-release: build-release + cd ./lib && ../build/Release/Tutorial.exe + +build-release: build + ${CMAKE} --build ./build --config Release + +run-debug: build-debug + cd ./lib && ../build/Debug/Tutorial.exe + +build-debug: build + ${CMAKE} --build ./build + +build: + ${CMAKE} -S ./src -B ./build + +clean: + rm build -rf |
