Setup for day 18.

This commit is contained in:
Zed A. Shaw 2026-08-28 11:53:01 -04:00
parent 032f10ef44
commit 993f148710
87 changed files with 14992 additions and 0 deletions

30
18-depth-testing/Makefile Normal file
View file

@ -0,0 +1,30 @@
all: build
reset:
powershell -executionpolicy bypass .\scripts\reset_build.ps1
build:
meson compile -j 4 -C builddir
release_build:
meson --wipe builddir -Db_ndebug=true --buildtype release
meson compile -j 4 -C builddir
debug_build:
meson setup --wipe builddir -Db_ndebug=true --buildtype debugoptimized
meson compile -j 4 -C builddir
run: test
./builddir/hellogl.exe
test: build
./builddir/fuc2it
debug_test: build
gdb --nx -x .gdbinit --ex run --args builddir/fuc2it.exe
debug_run: build
gdb --nx -x .gdbinit --batch --ex run --ex bt --ex q --args builddir/hellogl.exe
clean:
meson compile --clean -C builddir