Mercurial > hg > dmlib
changeset 495:30145d17aebd
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.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 16 Nov 2012 19:18:03 +0200 |
parents | abb112ac9916 |
children | 966617f0f6cd |
files | Makefile.gen |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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