feat: memory constants
This commit is contained in:
18
makefile
Normal file
18
makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
RELEASE_flags=-DNDEBUG -O2 -g0
|
||||
DEBUG_flags=-std=c23 -DDEBUG -Wall -Wno-unknown-pragmas -Wpedantic -Wshadow -Wextra -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Wvla -g -Og -fsanitize=address -fsanitize=undefined
|
||||
|
||||
clean:
|
||||
rm -fr bin
|
||||
|
||||
format:
|
||||
clang-format -i test/niconst_test.c
|
||||
clang-format -i niconst.h
|
||||
|
||||
test: bin/test
|
||||
bin/niconst_test
|
||||
|
||||
.PHONY: test clean
|
||||
|
||||
bin/test: test/niconst_test.c
|
||||
mkdir -p bin/test
|
||||
cc ${DEBUG_flags} test/niconst_test.c -o bin/niconst_test
|
||||
Reference in New Issue
Block a user