24 lines
407 B
Makefile
24 lines
407 B
Makefile
# Compiles the program natively
|
|
native:
|
|
@pwsh do.ps1 build
|
|
|
|
|
|
# Compiles the program for windows
|
|
windows:
|
|
@pwsh do.ps1 build-cross x86_64-windows-gnu
|
|
|
|
# Compiles the program for linux
|
|
linux:
|
|
@pwsh do.ps1 build-cross x86_64-linux-gnu
|
|
|
|
# Compiles the program to web assembly
|
|
wasm:
|
|
@pwsh do.ps1 build-cross wasm32-emscripten
|
|
|
|
# Cleans build artifacts
|
|
clean:
|
|
@pwsh do.ps1 clean
|
|
|
|
[private]
|
|
default : native
|
|
|