next up previous
Next: Modify the application database Up: How to create EPICS Previous: Create the device support

Add the device support to the application

The makeBaseApp.pl script produces an application Makefile (AB300App/src/Makefile) with a commented-out set of application example source files. Remove the comment character and change the example names to the name of the device support file created in the previous section:
AB300_SRCS += devAB300.c

You must also link the GPIB support libraries with your application. Add the following line

AB300_LIBS += gpib
before the
AB300_LIBS += $(EPICS_BASE_IOC_LIBS)
line in the application Makefile.