CSI-ES-2324/TPs/TP03/tokefile.toml
2024-03-05 23:39:41 +00:00

15 lines
521 B
TOML

[vars]
CC="!which gcc"
CFLAGS="-Wall -O2 -I/opt/homebrew/opt/openssl@3.2/include -L/opt/homebrew/opt/openssl@3.2/lib"
LDFLAGS="-lssl -lcrypto"
[targets.build]
wildcards=["!ls -1 *.c","!ls -1 *.c | sed -e 's/\\.c$//'"]
cmd="${CC} ${CFLAGS} ${LDFLAGS} @@ -o @@"
[targets.debug]
vars.CC="clang"
vars.CFLAGS="-Wall -O0 -g -fsanitize=address -g -I/opt/homebrew/opt/openssl@3.2/include -L/opt/homebrew/opt/openssl@3.2/lib"
wildcards=["!ls -1 *.c","!ls -1 *.c | sed -e 's/\\.c$//'"]
cmd="${CC} ${CFLAGS} ${LDFLAGS} @@ -o @@"