On 26 February 2015 at 23:06, Markus Fischer <m...@mldesigner.de> wrote: > > I made a minimal example, here is the program I invoke with make along > with the makefile: > > #### makefile #### > all: > @g++ -o example main.cpp > > run: > ./example > > #### output #### > $ make && make run > ./example > .... > > If I run ./example directly from the shell I don't get this "./example" > entry. I expect the same output when run with make. In this minimal > example I also get the string "./example" with make 3.82, though. I > haven't looked into it further, why in my actual program this happens > only with make 4, but either way it would be interesting to know why it > is there at all.
Explained here: https://www.gnu.org/software/make/manual/html_node/Echoing.html#Echoing Try changing that line in your makefile to: <tab>@./example _______________________________________________ Help-make mailing list Help-make@gnu.org https://lists.gnu.org/mailman/listinfo/help-make