mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-06 04:40:02 +02:00
32 lines
692 B
Makefile
32 lines
692 B
Makefile
CC = g++
|
|
CLAGS += -DVERBOSE #VERYBOSE
|
|
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= qClient.h $(RDIR)/include/MySocketTCP.h $(LDIR)/slsDetector/slsDetectorBase.h $(LDIR)/commonFiles/sls_detector_defs.h
|
|
|
|
|
|
all: client
|
|
|
|
client: $(OBJS) $(DDIR)/gui_client
|
|
|
|
OBJS = $(SRC_CLNT:%.cpp=%.o)
|
|
|
|
|
|
$(DDIR)/gui_client : $(SRC_CLNT) $(DEPSINCLUDES) Makefile
|
|
$(CXX) -o $@ -c $< $(INCLUDES) $(FLAGS) $(LDLIBS)
|
|
|
|
|
|
|
|
clean:
|
|
rm -rf $(DDIR)/gui_client *.o
|
|
|
|
|
|
|
|
|
|
|