20 lines
278 B
Makefile
20 lines
278 B
Makefile
|
# List available actions
|
||
|
help:
|
||
|
@just -l
|
||
|
|
||
|
# Do a debug build
|
||
|
debug:
|
||
|
make -j$(nproc)
|
||
|
|
||
|
# Do a release build
|
||
|
release:
|
||
|
make -j$(nproc) RELEASE=1
|
||
|
|
||
|
# Watch and recompile on changes
|
||
|
watch:
|
||
|
watchexec -e c,cc,cpp,h,hpp -- make -j$(nproc)
|
||
|
|
||
|
# Clean up
|
||
|
clean:
|
||
|
make clean
|