--- /dev/null
+#
+# This is Main Makefile for mrcImageROI3D.
+#
+
+#### Root Makefile ####
+MAKE_ROOT=mrcImageROI3D
+
+#### Input extention ####
+INI=ini
+OUT=roi
+
+#### Suffixes rule ####
+# Defined at Sub
+
+#### INCLUDE ####
+-include ${EOS_HOME}/tutorial/TIPS/Help/Makefile/Makefile-lib
+-include Makefile-lib
+
+#### Definition ####
+# Path of Input File
+# Basically, use a linked data from /SampleData.
+INPUT_PATH=${EOS_HOME}/tutorial/SampleData/1VOM-N.mrc
+
+### FileData
+FILE_NAME=Input
+OUT_FILE_NAME="$(FILE_NAME)-roi"
+
+### Option ###
+## -x
+X_START=10
+X_END=50
+## -y
+Y_START=10
+Y_END=50
+## -z
+Z_START=20
+Z_END=60
+
+#### Rules of the list created ####
+# Defined at Sub
+
+##### Commands #####
+# Defined at Sub basically
+# By make Initial, Create input data for this command.
+Initial::
+ make InitialData;
+
+# By make Exe, Execute the sample of this command.
+Exe::
+ make $(FILE_NAME).$(OUT)
+
+# By make Final, Make visualize Output for this command.
+Final::
+ make InitialImage;
+ make OutputImage
+
+# By make all, Initial -> Exe.
+all::
+ make Initial;
+ make Exe;
+ make Final;
+
+help_mrcImageROI3D::
+ @echo
+ @echo "Makefile for mrcImageROI3D"
+ @echo "This is Main Makefile for mrcImageROI3D."
+ @echo
+ @echo " (Command):"
+ @echo " Initial: Create input data for this command."
+ @echo " (Setting Data):"
+ @echo " INI: input extention for Initial"
+ @echo " OUT: output extention"
+ @echo
+ @echo " Exe: Execute the sample of this command."
+ @echo " (Setting Data):"
+ @echo " X_START: -x: start of x"
+ @echo " X_END: -x: end of x"
+ @echo " Y_START: -x: start of y"
+ @echo " Y_END: -x: end of y"
+ @echo " Z_START: -x: start of z"
+ @echo " Z_END: -x: end of z"
+ @echo
+ @echo " Final: Make visualize Output for this command."
+ @echo
+ @echo " all: Initial -> Exe."
+ @echo
+ @echo " (Setting Data):"
+ @echo " FILE_NAME: filename of input"
+ @echo " OUT_FILE_NAME: filename of output"
+
+##### Commands(Input to Output) #####
+# Defined at Sub
+.$(INI).$(OUT):
+ @if [ ! -z "$(X_START)" -a ! -z "$(X_END)" ] ; then \
+ OPTION="$$OPTION -x $(X_START) $(X_END)"; \
+ fi; \
+ if [ ! -z "$(Y_START)" -a ! -z "$(Y_END)" ] ; then \
+ OPTION="$$OPTION -y $(Y_START) $(Y_END)"; \
+ fi; \
+ if [ ! -z "$(Z_START)" -a ! -z "$(Z_END)" ] ; then \
+ OPTION="$$OPTION -z $(Z_START) $(Z_END)"; \
+ fi; \
+ echo "mrcImageROI3D -i $*.$(INI) -o $(OUT_FILE_NAME).$(OUT) $$OPTION"; \
+ mrcImageROI3D -i $*.$(INI) -o $(OUT_FILE_NAME).$(OUT) $$OPTION;
--- /dev/null
+#
+# This is Sub Makefile for mrcImageROI3D.
+#
+
+#### Input extention ####
+# Defined at Main
+
+#### Suffixes rule ####
+.SUFFIXES: .$(INI) .$(OUT)
+
+#### INCLUDE ####
+# Use TIPS File.
+-include ${EOS_HOME}/tutorial/TIPS/Projection3DImage/Makefile/Makefile-lib
+
+#### Definition ####
+# Defined at Main
+
+#### Rules of the list created ####
+
+
+##### Commands #####
+InitialData::
+ touch $(FILE_NAME).$(INI);
+ rm $(FILE_NAME).$(INI);
+ ln -s $(INPUT_PATH) $(FILE_NAME).$(INI)
+
+InitialImage::
+ export PRJ_FILE_NAME=$(FILE_NAME); \
+ export IN_PRJ=$(INI); \
+ export PRJ=$(INI)2d; \
+ export OUT_PRJ=tiff; \
+ make Projection3DImage;
+
+OutputImage::
+ export PRJ_FILE_NAME=$(OUT_FILE_NAME); \
+ export IN_PRJ=$(OUT); \
+ export PRJ=$(OUT)2d; \
+ export OUT_PRJ=tiff; \
+ make Projection3DImage;
+
+##### Commands(Input to Output) #####
+