mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-02 02:40:04 +02:00
30 lines
542 B
Makefile
30 lines
542 B
Makefile
CC = g++
|
|
CLAGS += -DVERBOSE #VERYBOSE
|
|
LDLIBS += -lm -lstdc++ -pthread
|
|
|
|
DDIR = ../../bin
|
|
INCLUDES = -I ../../slsSupportLib/include -I ../include
|
|
SRC_CLNT = qClient.cpp
|
|
DEPSINCLUDES= qClient.h ../../slsSupportLib/include/MySocketTCP.h ../../slsSupportLib/include/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
|
|
|
|
|
|
|
|
|
|
|