gnu - Isolate parent makefile environment from included makefile in gnumake -
lets have makefile a.mk has variable named files used. a.mk includes b.mk using files variable name. when execution comes a.mk, files variable modified don't want. how can achieve this? don't have option of modifying b.mk. want environment a.mk , b.mk isolated each other.
i believe choices not include b.mk
, use sub-make instead (if works) or save , reset variable around b.mk
inclusion.
Comments
Post a Comment