You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash -eu
|
|
#
|
|
# Runs the given C/C++ compile-ish command. On success, scrapes an object file
|
|
# from that command line and touches it.
|
|
|
|
"$@"
|
|
for arg in "$@"; do
|
|
if [[ "$arg" == *.o ]]; then
|
|
touch "$arg"
|
|
fi
|
|
done
|