update makefile

This commit is contained in:
2024-10-21 12:45:34 +01:00
parent e597d59cb2
commit 9c299777d3
6 changed files with 24 additions and 36 deletions

19
makefile Normal file
View File

@@ -0,0 +1,19 @@
all: dirs build_unix
dirs:
@mkdir -p build/
clean:
@rm -rf build/
build_all: build_unix build_win
build_unix:
@echo "Building for unix..."
g++ -o build/owo src/main.cpp
build_win:
@echo "Building for windows..."
x86_64-w64-mingw32-g++ -o build/owo.exe src/main.cpp
.PHONY: all dirs clean build_all build_unix build_win