Mercurial > hg > dmlib
comparison Makefile.gen @ 563:1483cd1cf0e6
Fix build by moving moc_* from TARGETS to TMPFILES.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 20 Dec 2012 01:42:47 +0200 |
parents | 6a830bcd7eb9 |
children | 5a051ead61db |
comparison
equal
deleted
inserted
replaced
562:6a830bcd7eb9 | 563:1483cd1cf0e6 |
---|---|
16 ### Editor | 16 ### Editor |
17 ### | 17 ### |
18 ifeq ($(DM_BUILD_EDITOR),yes) | 18 ifeq ($(DM_BUILD_EDITOR),yes) |
19 ifneq ($(DEMO_BIN),) | 19 ifneq ($(DEMO_BIN),) |
20 BINARIES += ed_$(DEMO_BIN) | 20 BINARIES += ed_$(DEMO_BIN) |
21 TARGETS += $(OBJPATH)moc_* $(EDITOR_MAKEFILE) $(EDITOR_PRO) | 21 TARGETS += $(EDITOR_MAKEFILE) $(EDITOR_PRO) |
22 TMPFILES += $(OBJPATH)moc_* | |
22 endif | 23 endif |
23 endif | 24 endif |
24 | 25 |
25 EDITOR_PRO = editor.pro | 26 EDITOR_PRO = editor.pro |
26 EDITOR_MAKEFILE = Makefile.editor | 27 EDITOR_MAKEFILE = Makefile.editor |
426 | 427 |
427 ### | 428 ### |
428 ### Special targets | 429 ### Special targets |
429 ### | 430 ### |
430 clean: | 431 clean: |
431 $(RM) $(TARGETS) $(OBJPATH)*.o | 432 $(RM) $(TARGETS) $(TMPFILES) $(OBJPATH)*.o |
432 | 433 |