[TP03] Done
This commit is contained in:
parent
a6c894ed56
commit
c2f25b8c2d
5 changed files with 175 additions and 41 deletions
15
TPs/TP03/tokefile.toml
Normal file
15
TPs/TP03/tokefile.toml
Normal file
|
@ -0,0 +1,15 @@
|
|||
[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 @@"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue