# -*- Makefile -*-

# Path to EPICS base and extensions
BASE=/cs_RH8/R3.13.5/base
EXT=/cs_RH8/R3.13.5/extensions

# Include header file for archiver (part of extensions)
# and things from EPICS base
CPPFLAGS=-I$(EXT)/include -I$(BASE)/include

# Similar: Link archiver libraries (part of extensions)
# and things from EPICS base
LDFLAGS=-L$(EXT)/lib/$(HOST_ARCH) -lChanArchIO -lTools
LDFLAGS+=-L$(BASE)/lib/$(HOST_ARCH) -lca -lDb -lCom -lpthread

101: 101.cpp
	g++ 101.cpp -o 101 $(CPPFLAGS) $(LDFLAGS)

