Starting the refactor session on day 14. Moved the glad and KHR dirs into src to start.

This commit is contained in:
Zed A. Shaw 2026-08-24 12:13:03 -04:00
parent 1b7066757a
commit 5b5e8a9fb0
62 changed files with 13880 additions and 0 deletions

30
14-refactor/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