# the CONFIG_SITE file.
# Variables and paths to dependent modules:
-MODULES = /home/scs/EPICS/EPICS/modules/
-#MYMODULE = $(MODULES)/my-module
-# If using the sequencer, point SNCSEQ at its top directory:
-SNCSEQ = $(MODULES)/synApps_5_8/support/seq-2-2-1
-ASYN = $(MODULES)/synApps_5_8/support/asyn-4-26
-STREAM = $(MODULES)/synApps_5_8/support/stream-2-6a
+MODULES = $(EPICS_ROOT)/modules
-# EPICS_BASE should appear last so earlier modules can override stuff:
-EPICS_BASE = /home/scs/EPICS/EPICS/base
+SUPPORT=$(MODULES)/synApps_5_8/support
+
+SNCSEQ = $(SUPPORT)/seq-2-2-1
+ASYN = $(SUPPORT)/asyn-4-26
+STREAM = $(SUPPORT)/stream-2-6a
+
+EPICS_BASE = $(EPICS_ROOT)/base
+
+# EPICS_ROOT is an absolute path here. If you need a different one, you don't
+# need to change it here, you can specify the right when when using make:
+# make EPICS_ROOT=/your/override/here
+EPICS_ROOT=/home/scs/EPICS/EPICS
# Set RULES here if you want to use build rules from somewhere
# other than EPICS_BASE: