diff options
| author | Davi Antônio da Silva Santos <antoniossdavi@gmail.com> | 2023-03-02 23:56:08 +0000 |
|---|---|---|
| committer | Davi Antônio da Silva Santos <antoniossdavi@gmail.com> | 2023-03-04 01:24:15 +0000 |
| commit | 7c0f371cfb3ad3d876325dd0e8e2f9e74e8b5e22 (patch) | |
| tree | b9ef69906ea0c5c49664687febfedbc2b62382a0 | |
| parent | f17e3be93d425f5554a806c0e847c34504a68873 (diff) | |
| download | boca-7c0f371cfb3ad3d876325dd0e8e2f9e74e8b5e22.tar.gz boca-7c0f371cfb3ad3d876325dd0e8e2f9e74e8b5e22.zip | |
Use automatic variables to compile tools/safeexec
Replace redundant recipe for tools/safeexec rule with automatic
variables:
* `$^` expands to the names of all rule's prerequistes
* `$@` expands to the name of the rule's target
Further information is available in
https://www.gnu.org/software/make/manual/make.html.
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,6 @@ tools/safeexec: tools/safeexec.c - gcc -g tools/safeexec.c -o tools/safeexec + gcc -g $^ -o $@ tools/boca-submit-run-root-wrapper: tools/boca-submit-run-root-wrapper.c gcc -g $^ -o $@ |