test5/test.sh

8 lines
291 B
Bash
Raw Normal View History

2026-03-18 17:16:32 +02:00
#!/bin/sh
2026-03-18 18:32:55 +02:00
export OPT=s && echo $OPT && gcc f.c -O$OPT -o f && ./f
export OPT=0 && echo $OPT && gcc f.c -O$OPT -o f && ./f
export OPT=1 && echo $OPT && gcc f.c -O$OPT -o f && ./f
export OPT=2 && echo $OPT && gcc f.c -O$OPT -o f && ./f
export OPT=3 && echo $OPT && gcc f.c -O$OPT -o f && ./f