Mercurial > hg > dmlib
diff Makefile.gen @ 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 | 8ca18222db10 |
children | 966617f0f6cd |
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