Invoke awk using AWK variable.
authordrepper <drepper>
Tue, 21 Apr 1998 17:58:40 +0000 (17:58 +0000)
committerdrepper <drepper>
Tue, 21 Apr 1998 17:58:40 +0000 (17:58 +0000)
Makefile

index 923a81e..1de8be7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -116,7 +116,7 @@ libc-init = set-init
 else
 libc-init = munch-init
 $(objpfx)munch-init.c: munch.awk munch-tmpl.c $(+subdir_inits)
-       awk -f $< subdirs='$(+init_subdirs)' $(word 2,$^) > $@-t
+       $(AWK) -f $< subdirs='$(+init_subdirs)' $(word 2,$^) > $@-t
        mv -f $@-t $@
 generated := $(generated) munch-init.c
 endif