From 7c0f371cfb3ad3d876325dd0e8e2f9e74e8b5e22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Davi=20Ant=C3=B4nio=20da=20Silva=20Santos?= Date: Thu, 2 Mar 2023 20:56:08 -0300 Subject: 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index dcb2d35..0674ac2 100644 --- a/Makefile +++ b/Makefile @@ -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 $@ -- cgit v1.2.3