19 lines
330 B
Makefile
19 lines
330 B
Makefile
|
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
|