mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 10:07:59 +02:00
forgot client makefile for gui
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@152 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
36
slsDetectorGui/client/Makefile
Normal file
36
slsDetectorGui/client/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
CC = g++
|
||||
CLAGS += -DVERBOSE #VERYBOSE
|
||||
LDLIBS += -lm -lstdc++ -lpthread
|
||||
|
||||
LDIR = ../../slsDetectorSoftware
|
||||
INCLUDES = -I ../../slsDetectorSoftware/commonFiles -I ../../slsDetectorSoftware/MySocketTCP -I ../../slsDetectorSoftware/slsDetector -I ../include
|
||||
SRC_CLNT = qClient.cpp ../../slsDetectorSoftware/MySocketTCP/MySocketTCP.cpp
|
||||
|
||||
PROGS = gui_client
|
||||
DESTDIR ?= bin
|
||||
INSTMODE = 0777
|
||||
|
||||
FINALDIR = ../../bin
|
||||
|
||||
OBJS = $(SRC_CLNT:.cpp=.o)
|
||||
|
||||
|
||||
all: clean $(PROGS)
|
||||
|
||||
boot: $(OBJS)
|
||||
|
||||
$(PROGS):
|
||||
echo $(OBJS)
|
||||
mkdir -p $(DESTDIR)
|
||||
gcc $(SRC_CLNT) $(INCLUDES) $(FLAGS) $(LDLIBS) -o $@
|
||||
#mv $(PROGS) $(DESTDIR)
|
||||
mv $(PROGS) $(FINALDIR)
|
||||
|
||||
clean:
|
||||
rm -rf $(DESTDIR)/$(PROGS) *.o
|
||||
rm -rf $(FINALDIR)/$(PROGS)
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user