Some checks failed
Validate the build / validate-build (push) Failing after 24s
Split most of the work off into make/base.mk and allow for easy wrappers to be created around that that can build with different instrumentation in their own build directory. Create wrappers for the following: - release build - debug build - afl++ fuzzing build - static analysis with clang - clang memory sanitizer - clang address/undefined sanitizer
8 lines
213 B
Makefile
8 lines
213 B
Makefile
CC?=clang
|
|
LD?=clang
|
|
CFLAGS?=-Wall -Wextra -Wpedantic -O2 -std=c23 -flto -fomit-frame-pointer -DNDEBUG -D_POSIX_C_SOURCE=200809L
|
|
LDFLAGS?=-flto -s -Wl,--gc-sections
|
|
BUILD_DIR?=build/release/
|
|
|
|
-include make/base.mk
|