diff --git a/motorApp/HytecSrc/Makefile b/motorApp/HytecSrc/Makefile index 2697229f..1bdca94d 100644 --- a/motorApp/HytecSrc/Makefile +++ b/motorApp/HytecSrc/Makefile @@ -3,24 +3,22 @@ TOP=../.. include $(TOP)/configure/CONFIG # ------------------------------- -# Build Hy8601 Module Library +# Build HytecMotor Module Library # ------------------------------- -ifdef IPAC +LIBRARY_IOC += HytecMotor -LIBRARY_IOC += Hy8601 - -DBD += drvHy8601Asyn.dbd +DBD += HytecMotorDriver.dbd # The following are compiled and added to the support library -Hy8601_SRCS += drvHy8601Asyn.c -Hy8601_SRCS += registrarHy8601Asyn.c +HytecMotor_SRCS += HytecMotorDriver.cpp + +INC += HytecMotorDriver.h # We need to link this IOC Application against the EPICS Base libraries -Hy8601_LIBS += motor asyn Ipac -Hy8601_LIBS += $(EPICS_BASE_IOC_LIBS) - -endif +HytecMotor_LIBS += motor +HytecMotor_LIBS += asyn +HytecMotor_LIBS += $(EPICS_BASE_IOC_LIBS) # ---------------------------------------------------