From 3df4342cca9d14a0c262b69105c6f31c2b88d708 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Fri, 23 Oct 2015 09:44:48 +0200 Subject: [PATCH] standard EPICS Makefile --- Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Makefile 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