ordered the makefile a bit, needs more revising

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@189 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
l_maliakal_d
2013-05-23 12:26:08 +00:00
parent 014dfd7eed
commit 6aeacf7b13
2 changed files with 39 additions and 23 deletions

View File

@ -8,6 +8,7 @@ LIBRARYDIR?=../slsDetectorSoftware
INCLUDES?= $(LIBRARYDIR)/commonFiles -I$(LIBRARYDIR)/MySocketTCP -I$(LIBRARYDIR)/slsReceiverInterface -I$(LIBRARYDIR)/slsDetector -I$(LIBRARYDIR)/slsDetectorAnalysis -I$(LIBRARYDIR)/multiSlsDetector -I$(LIBRARYDIR)/usersFunctions
LDFLAG?=-L$(LIBRARYDIR)/bin -lSlsDetector
all: $(PROG) Makefile.gui guiclient
clean:
@ -19,7 +20,7 @@ clean:
Makefile.gui: mm
mm:
qmake -set QT_INSTALL_PREFIX $(QTDIR) && qmake -o Makefile.gui INCLUDES='$(INCLUDES)' DESTDIR=$(DESTDIR) SLSDETLIB=$(LIBDIR) SUBLIBS='$(LDFLAG)' INCLUDES='$(INCLUDES)'
qmake -set QT_INSTALL_PREFIX $(QTDIR) && qmake -o Makefile.gui INCLUDES='$(INCLUDES)' DESTDIR=$(DESTDIR) SLSDETLIB=$(LIBDIR) SUBLIBS='$(LDFLAG)'
doc:
cd manual && make DESTDIR=$(DOCDIR)