Hello,
I am begginer with gnu make and I am trying to implement the next:
-I have a source file which contains include directive
-I have a make file with the next content:
file_nam=demo_c0.txt
file_content=$(shell cat ${file_nam})
rez=$(word 1,$(file_content))
f:
echo $(rez)
When I am executing this nothing is displayed,
but if I change the content of my demo with something ordinary it works,
what should I do in this case, is there any solution?
--
View this message in context:
http://gnu-make.2324884.n4.nabble.com/read-a-source-file-with-gnu-make-tp15531.html
Sent from the Gnu - Make - Help mailing list archive at Nabble.com.
_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make