mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-28 17:04:34 +00:00
1. if ran without choosing a build type (just `make` or `build_odin.sh`), print out a message about it being a debug build 2. Add `make release-native` alongside `make release_native` to align with `build_odin.sh release-native` 3. Only run the demo if it is a debug build (just like `build.bat`)
26 lines
333 B
Makefile
26 lines
333 B
Makefile
all: default
|
|
|
|
demo:
|
|
./odin run examples/demo/demo.odin -file
|
|
|
|
report:
|
|
./odin report
|
|
|
|
default:
|
|
PROGRAM=make ./build_odin.sh # debug
|
|
|
|
debug:
|
|
./build_odin.sh debug
|
|
|
|
release:
|
|
./build_odin.sh release
|
|
|
|
release-native:
|
|
./build_odin.sh release-native
|
|
|
|
release_native:
|
|
./build_odin.sh release-native
|
|
|
|
nightly:
|
|
./build_odin.sh nightly
|