SyntaxFix
Write A Post
Hire A Developer
Questions
Find the C file and Makefile implementation in below to meet your requirements
foo.c
main () { int a = MAKE_DEFINE; printf ("MAKE_DEFINE value:%d\n", a); }
Makefile
all: gcc -DMAKE_DEFINE=11 foo.c