I have the following problem with a line from a Makefile:
echo 'include $(BASE)/Makefile.base' > file
If I write this directly into the console it literally prints 'include $(BASE)/Makefile.base' into the file, but when using it within a Makefile $(BASE) always gets replaced with a blank and i want it to literally write that to the file. I tried to write several ways but can't seem the find the right way...