bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

.ONESHELL causes quoting in .SHELLFLAGS to not work as expected


From: Britton Kerin
Subject: .ONESHELL causes quoting in .SHELLFLAGS to not work as expected
Date: Tue, 11 Jan 2022 11:53:11 -0900

$ cat Makefile
.ONESHELL:
SHELL = /usr/bin/perl
.SHELLFLAGS = -w -E 'use warnings FATAL => "all";' -E
all:
        print 'it works'
$ make all
print 'it works'
Can't find string terminator "'" anywhere before EOF at -e line 1.
make: *** [Makefile:5: all] Error 255
$

Without .ONESHELL: the above works as expected.

Britton



reply via email to

[Prev in Thread] Current Thread [Next in Thread]