# HG changeset patch # User Matti Hamalainen # Date 1350425709 -10800 # Node ID 7e640b1f990b11f81a44357a6cf0403c207446ec # Parent e1c984404b6bcea096ac16e0aed482a6c0aa0f1a Fix build process for out of tree builds. diff -r e1c984404b6b -r 7e640b1f990b Makefile.gen --- 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)