diff options
-rw-r--r-- | default.o.do | 2 | ||||
-rw-r--r-- | link | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/default.o.do b/default.o.do index 9135cb8..5c3e0e9 100644 --- a/default.o.do +++ b/default.o.do @@ -1,5 +1,5 @@ #!/bin/bash redo-ifchange "$0" "default.o.do" "$2.c" . loadargs "compile" -gcc -std=c11 -MD -MF "$2.d" -c -o "$3" "${args[@]}" "$2.c" +gcc -std=c11 -MD -MF "$2.d" -c "${args[@]}" -o "$3" "$2.c" redo-ifchange "$2.d" $(sed ':a;/\\$/{s/[^:]*: //;N;s/ \\\n//;ba}' <"$2.d") @@ -1,4 +1,4 @@ #/fake/bash redo-ifchange "$0" "link" "${deps[@]}" . loadargs "link" -gcc -o "$3" "${deps[@]}" +gcc "${args[@]}" -o "$3" "${deps[@]}" |