makefile - Error in make file -


i using make utility in windows. below output when run make -v:


gnu make version 3.79.1, richard stallman , roland mcgrath. built windows32 + cygwin sh.exe mginzton@vmware.com copyright (c) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000 free software foundation, inc. free software; see source copying conditions. there no warranty; not merchantability or fitness particular purpose.

report bugs <bug-make@gnu.org>.


for reason make not proceeding expected , trying debug same. wherever trying print statement below getting error message line:

 -- makefile:17: *** missing separator.  stop. 

i new make files. can let me know how overcome issue?

  1. if you're beginner in make, can't add huge preexisting makefile , expect work. have learn basics first.

  2. an echo statement valid in shells, not in make. try $(info here)

  3. the conditional in "snippet" combines half dozen difficult acts , contains @ least 2 errors. must learn these tricks 1 @ time. start small , simple, add complexity little @ time, test @ every step, , never add code doesn't work.


Comments