# file: $(NEDC_NFC)/src/params/Makefile
#
# revision history:
#
# 20230422 (JP): reviewed for release
# 20221216 (ML): initial version
#
# This Makefile builds all the classes and parameter files in this directory
# and puts them in $NEDC_NFC/lib and adjusts the permissions
#

# get the current directory of Makefile
#
mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
mkfile_dir := $(dir $(mkfile_path))

# set the variable to the root of folder
#
NEDC_NFC=$(realpath $(mkfile_dir)/../..)

# define file names
#
EEG_PARAM = params_v01.txt

# define an installation target
#
install:
	rm -f $(NEDC_NFC)/lib/$(EEG_PARAM)
	cp -f $(EEG_PARAM) $(NEDC_NFC)/lib/$(EEG_PARAM)
	cd $(NEDC_NFC)/lib; chmod u+rwx,g+rwx,o+rx $(EEG_PARAM)

#
# end of file
