Completed port of vec3.zig

This commit is contained in:
Alex Selimov 2026-10-31 22:27:55 -04:00
parent 139444ccc6
commit 16b0218556
3 changed files with 210 additions and 18 deletions

View file

@ -1,4 +1,4 @@
CC=gcc
CC=clang
DEBUG=yes
EXEC=test
@ -12,7 +12,7 @@ SRC = $(wildcard *.c)
# -Wall to get all the possible warnings
# -ansi -pendantic to get portable code
ifeq ($(DEBUG),yes)
CFLAGS=-Wall -Wpedantic -g3 -std=c23 -Wextra -Wconversion -Wshadow -fsanitize=address,undefined -fno-omit-frame-pointer -fno-optimize-sibling-calls
CFLAGS=-Wall -Wpedantic -g3 -Wextra -Wconversion -Wshadow -fsanitize=address,undefined -fno-omit-frame-pointer -fno-optimize-sibling-calls
LDFLAGS= -Wall -lm -fsanitize=address,undefined
else
CFLAGS=-W -Wall -pedantic -std=c23 -O3