URL:
<http://savannah.gnu.org/bugs/?45211>
Summary: Add option to MAKEFLAGS (How to set RM variable?)
Project: make
Submitted by: None
Submitted on: Птн 29 Май 2015 10:51:16
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: None
Operating System: None
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
Makefile:
# Start of Makefile
MAKEFLAGS += -R
$(info RM='$(RM)')
RM ?= rm
define make_obj
$(info RM='$(RM)')
endef
ttt:
$(call make_obj)
# End of Makefile
make output:
RM='rm -f'
RM=''
make: 'ttt' is up to date.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45211>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make