How to create a file using Makefile

Posted by user306988 on Stack Overflow See other posts from Stack Overflow or by user306988
Published on 2010-04-19T13:38:57Z Indexed on 2010/04/19 13:43 UTC
Read the original article Hit count: 137

Filed under:

Hi, I want to create a .c file from a Makefile. Content of that C file is as follows:

char *variable1 = $(VAR1_FROM_MAKEFILE);
char *variable2 = $(VAR2_FROM_MAKEFILE);

Is it possible?

Thanks in advance

© Stack Overflow or respective owner

Related posts about makefile