diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d110c2e --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ +TOP=.. + +include $(TOP)/configure/CONFIG + +# library +LIBRARY = require +LIB_SRCS += require_registerRecordDeviceDriver.cpp + +#require_DBD += base.dbd + +LIB_SRCS += require.c +LIB_SRCS_vxWorks = asprintf.c strdup.c + +require_DBD += $(LIBRARY).dbd + +LIB_LIBS += $(EPICS_BASE_IOC_LIBS) + +# We need to find the Linux link.h before the EPICS link.h +USR_INCLUDES_Linux=-idirafter ${EPICS_BASE}/include + +# Pass T_A to the code +USR_CFLAGS += -DT_A=${T_A} + +include $(TOP)/configure/RULES