makefile (335B)
MAKEFLAGS += --silent
default:
clang -O1 -g -std=c23 \
-Werror=declaration-after-statement \
-o mtcc **/*.c
./mtcc target.mty
check:
clang -O1 -Wall -Wextra -Wpedantic -std=c23 \
-Werror=declaration-after-statement \
-Wno-unused-function -fsanitize=address,undefined \
-o mtcc **/*.c
clean:
rm -rf *.dSYM
rm -rf mtcc