include ${BUILDCODE}/include/makedefs #---------------------------- Macro definitions ------------------------------ INCPATH = ../src\ ${BUILDCODE}/include\ /home/jiawei/QT-ISCS/openssl-1.0.1e/include SRCDIR=../src OBJ_LIST = $(OBJDIR)/DHacs.o USE_DLL = -L${DLLDIR} -llog -lbtl -ldaq -lrdb -ldce -lddbc -ldhconfigsdk -ldhnetsdk DHACSDLL = ${DLLDIR}/libDHacs.so DHACSLIB = ${LIBDIR}/libDHacs.a #------------------------ Target file dependencies --------------------------- all:\ ${DHACSDLL}\ ${DHACSLIB} ${DHACSDLL}: $(OBJ_LIST) ${LD} ${LDCXXFLAGS} -o $@ $(OBJ_LIST) ${USE_DLL} ${DHACSLIB}: $(OBJ_LIST) ${AR} $(ARFLAGS) $@ $(OBJ_LIST) clean: rm -f ${OBJ_LIST} rm -f ${DHACSDLL} rm -f ${DHACSLIB} $(OBJDIR)/DHacs.o: ${SRCDIR}/DHacs.cpp ${CXX} -std=c++11 -c ${CXXFLAGS} ${COMM_INCLUDES} -o $@ $? # DO NOT DELETE THIS LINE -- make depend depends on it.