mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 10:07:59 +02:00
trying with gui makefile changes
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user