SOLARIS_QT6_DAQ/makeTest

33 lines
812 B
Plaintext
Raw Normal View History

CC = g++
COPTS = -fPIC -DLINUX -O2 -std=c++17 -lpthread -g
CAENLIBS = -lCAEN_FELib
CURLLIBS = -lcurl
OBJS= ClassDigitizer2Gen.o influxdb.o
#
#
################################################################
all : test windowID
#
test : test.cpp ClassDigitizer2Gen.o influxdb.o
@echo "------- test"
$(CC) $(COPTS) $(OBJS) -o test test.cpp $(CAENLIBS) $(CURLLIBS)
#
2023-09-26 10:41:24 -04:00
ClassDigitizer2Gen.o : ClassDigitizer2Gen.cpp ClassDigitizer2Gen.h Hit.h DigiParameters.h
@echo "------- ClassDigitizer2Gen.o"
$(CC) $(COPTS) -c ClassDigitizer2Gen.cpp $(CAENLIBS)
#
influxdb.o : influxdb.cpp influxdb.h
@echo "------- influxdb.o"
$(CC) $(COPTS) -c influxdb.cpp $(CURLLIBS)
#
windowID : windowID.cpp
@echo "------- windowID"
${CC} ${COPTS} -o windowID windowID.cpp -lX11 -lpng
2023-02-23 16:08:47 -05:00
clean :
rm -f $(ALL) $(OBJS)