trying with gui makefile changes

This commit is contained in:
Dhanya Maliakal
2017-06-29 09:27:26 +02:00
parent cfff7969e3
commit 21e1fcf693
8 changed files with 20 additions and 18 deletions

View File

@ -4,26 +4,26 @@ LDLIBS += -lm -lstdc++ -pthread
LDIR = ../../slsDetectorSoftware
RDIR = ../../slsReceiverSoftware
DDIR = ../../bin
INCLUDES = -I $(LDIR)/commonFiles -I $(LDIR)/slsDetector -I ../include -I $(RDIR)/include
SRC_CLNT = qClient.cpp $(RDIR)/src/MySocketTCP.cpp
DEPSINCLUDES= $(RDIR)/include/MySocketTCP.h $(LDIR)/slsDetector/slsDetectorBase.h $(LDIR)/commonFiles/sls_detector_defs.h
DEPSINCLUDES= qClient.h $(RDIR)/include/MySocketTCP.h $(LDIR)/slsDetector/slsDetectorBase.h $(LDIR)/commonFiles/sls_detector_defs.h
all: client
client: $(OBJS) $(DESTDIR)/gui_client
client: $(OBJS) $(DDIR)/gui_client
OBJS = $(SRC_CLNT:%.cpp=%.o)
$(DESTDIR)/gui_client : $(SRC_CLNT) $(DEPSINCLUDES) Makefile
$(DDIR)/gui_client : $(SRC_CLNT) $(DEPSINCLUDES) Makefile
$(CXX) -o $@ -c $< $(INCLUDES) $(FLAGS) $(LDLIBS)
clean:
rm -rf $(DESTDIR)/$(PROGS) *.o
rm -rf $(DDIR)/gui_client *.o