# HG changeset patch # User Matti Hamalainen # Date 1353086283 -7200 # Node ID 30145d17aebde1b775f870ddc5dce4310804a89b # Parent abb112ac991632124c102d25039821437e2700b1 Move certain editor related targets to the actual TARGETS variable, and remove them from being separately specified in the "make clean" target, thusly cleaning them only when editor is enabled in build configuration. diff -r abb112ac9916 -r 30145d17aebd Makefile.gen --- a/Makefile.gen Wed Nov 14 19:15:20 2012 +0200 +++ b/Makefile.gen Fri Nov 16 19:18:03 2012 +0200 @@ -18,6 +18,7 @@ ifeq ($(DM_BUILD_EDITOR),yes) ifneq ($(DEMO_BIN),) BINARIES += ed_$(DEMO_BIN) +TARGETS += $(OBJPATH)moc_* $(EDITOR_MAKEFILE) $(EDITOR_PRO) endif endif @@ -422,5 +423,5 @@ ### Special targets ### clean: - $(RM) $(TARGETS) $(OBJPATH)*.o $(OBJPATH)moc_* $(EDITOR_MAKEFILE) $(EDITOR_PRO) + $(RM) $(TARGETS) $(OBJPATH)*.o