Mercurial > hg > dmlib
diff Makefile.gen @ 370:7e640b1f990b
Fix build process for out of tree builds.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 17 Oct 2012 01:15:09 +0300 |
parents | 1b8362a26692 |
children | 097b537fa957 |
line wrap: on
line diff
--- a/Makefile.gen Wed Oct 17 00:23:36 2012 +0300 +++ b/Makefile.gen Wed Oct 17 01:15:09 2012 +0300 @@ -21,8 +21,8 @@ endif endif -EDITOR_PRO = $(DMLIB)editor.pro -EDITOR_MAKEFILE = $(DMLIB)Makefile.editor +EDITOR_PRO = editor.pro +EDITOR_MAKEFILE = Makefile.editor EDITOR_SOURCES = edmain.cpp edgui.cpp edtimeline.cpp edwaveform.cpp EDITOR_HEADERS = edmain.h edtimeline.h edwaveform.h @@ -380,8 +380,8 @@ @echo "QT += core gui opengl" >> $@ @echo "TARGET = editor" >> $@ @echo "TEMPLATE = app" >> $@ - @echo "SOURCES = $(EDITOR_SOURCES)" >> $@ - @echo "HEADERS = $(EDITOR_HEADERS)" >> $@ + @echo "SOURCES = $(addprefix $(DMLIB),$(EDITOR_SOURCES))" >> $@ + @echo "HEADERS = $(addprefix $(DMLIB),$(EDITOR_HEADERS))" >> $@ $(EDITOR_MAKEFILE): $(EDITOR_PRO)