diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-05-05 19:33:34 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-05-05 19:33:34 +0200 |
commit | 7132d92ac421d956e775a5ed6cad33605e7f7162 (patch) | |
tree | 31d2b8903c391cbfeb132da649668f733b267b11 /build/system/configuration-rules.make | |
parent | 2dc815fa21c80c26ffe16575730ebc739c253305 (diff) |
Add a per-dcf_root disfigure target
Use it subsystems. This allows one to have sub-projects with
separate build configurations.
Diffstat (limited to 'build/system/configuration-rules.make')
-rw-r--r-- | build/system/configuration-rules.make | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/build/system/configuration-rules.make b/build/system/configuration-rules.make index b1aa605..0a4198b 100644 --- a/build/system/configuration-rules.make +++ b/build/system/configuration-rules.make @@ -11,14 +11,13 @@ ifeq ($(.DEFAULT_GOAL),$(dcf_root)/system/configuration-dynamic.make) .DEFAULT_GOAL := endif - ifndef %foreign% -disfigure:: +$(dcf_root)/.disfigure:: $(call message,rm $(dcf_root)/system/configuration-dynamic.make,\ rm -f $(dcf_root)/system/configuration-dynamic.make) -ifeq ($(.DEFAULT_GOAL),disfigure) +ifeq ($(.DEFAULT_GOAL),$(dcf_root)/.disfigure) .DEFAULT_GOAL := endif |