bug-make
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Incompatibility in make versions - directory/ dependency no longer match
From
:
Gur Stavi
Subject
:
Incompatibility in make versions - directory/ dependency no longer match directory goal
Date
:
Wed, 15 Feb 2017 15:14:18 +0200
Consider the makfile below.
OUT_DIR = my_dir
OUT_FILE = $(OUT_DIR)/hello.txt
$(OUT_FILE): | $(dir $(OUT_FILE))
echo Hello World > $@
my_dir:
mkdir $@
Running with make v3.81 results in:
mkdir my_dir
echo Hello World > my_dir/hello.txt
Running with Make v4.1 results in:
make: *** No rule to make target 'my_dir/', needed by 'my_dir/hello.txt'. Stop.
Is this intentional?
reply via email to
[Prev in Thread]
Current Thread
[Next in Thread]
Incompatibility in make versions - directory/ dependency no longer match directory goal
,
Gur Stavi
<=
Prev by Date:
Re: [bug #50062] Variable needed to check that Makefile is run by GNU make?
Next by Date:
[bug #50372] gmk_floc missing offset member
Previous by thread:
[bug #50304] A round bracket in the latest document of GNU Make has no match
Next by thread:
[bug #50372] gmk_floc missing offset member
Index(es):
Date
Thread