#### INCLUDE ####
-include ../CTFCorrection1/Makefile
--include ../../TIPS/CreateGridImage/Makefile.config
+-include ../../TIPS/CreateGridImage/Makefile-lib
-include INPUT_2D_LIST
-include CTF_2D_LIST
-include FFT_2D_LIST
#### Suffixes rule ####
#### INCLUDE ####
--include ../../TIPS/LoopCommand/Makefile.config
+-include ../../TIPS/LoopCommand/Makefile-lib
-include ../CTFCorrection2/Makefile.config
#### Definition ####
#### INCLUDE ####
-include ../CTFCorrection3/Makefile.config
--include ../../TIPS/LoopCommand/Makefile.config
+-include ../../TIPS/LoopCommand/Makefile-lib
#### Definition ####
--- /dev/null
+#
+# This is Main Makefile for !!Command!!.
+#
+
+#### Root Makefile ####
+MAKE_ROOT=!!Command!!
+
+#### Input extention ####
+INI=ini
+
+#### Suffixes rule ####
+# Defined at Sub
+
+#### INCLUDE ####
+-include ${EOS_HOME}/tutorial/TIPS/Help/Makefile-lib
+-include Makefile-lib
+
+#### Definition ####
+# Path of Input File
+# Basically, use a linked data from /SampleData.
+# INPUT_PATH=${EOS_HOME}/tutorial/SampleData/XXXX.mrc
+
+### FileData
+FILE_NAME=Input
+
+#### 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::
+
+# By make all, Initial -> Exe.
+all::
+ make Initial;
+ make Exe;
+
+help_!!Command!!::
+ @echo
+ @echo "Makefile for !!Command!!"
+ @echo "This is Main Makefile for !!Command!!."
+ @echo
+ @echo " (Command):"
+ @echo " Initial: Create input data for this command."
+ @echo " (Setting Data):"
+ @echo " INI: input extention for Initial"
+ @echo
+ @echo " Exe: Execute the sample of this command."
+ @echo
+ @echo " all: Initial -> Exe."
+ @echo
+ @echo " (Setting Data):"
+ @echo " FILE_NAME: filename of input"
+
+##### Commands(Input to Output) #####
+# Defined at Sub
--- /dev/null
+#
+# This is Sub Makefile for !!Command!!.
+#
+
+#### Input extention ####
+# Defined at Main
+
+#### Suffixes rule ####
+.SUFFIXES: .$(INI)
+
+#### INCLUDE ####
+# Use TIPS File.
+# -include ${EOS_HOME}/tutorial/TIPS/XXXX/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)
+
+##### Commands(Input to Output) #####
+
--- /dev/null
+#
+# This is Makefile to create the Template Makefile for Small Tools, TIPS, and so on.
+#
+
+#### Root Makefile ####
+MAKE_ROOT=makeTemplate
+
+#### INCLUDE ####
+-include ${EOS_HOME}/tutorial/TIPS/Help/Makefile-lib
+
+#### Definition ####
+# Path of Template Files.
+SOURCE="../../../Template/Makefile/"
+
+##### Commands #####
+.DEFAULT::
+ @CreateFlag=
+ @export TARGET=$@; \
+ if [ ! -z $$TARGET ] ; then \
+ CreateFlag=true; \
+ fi; \
+ if [ ! -z $$CreateFlag ] ; then \
+ make CreateInitialMakefileDirectory; \
+ fi
+
+CreateInitialMakefileDirectory::
+ @mkdir $$TARGET;
+ @cd ./$$TARGET; \
+ mkdir Makefile; \
+ cd ./Makefile; \
+ cp ${SOURCE}Makefile Makefile; \
+ cp ${SOURCE}Makefile-lib Makefile-lib; \
+ sed -e s/"!!Command!!"/"$$TARGET"/g Makefile > tmp; \
+ cp tmp Makefile; \
+ sed -e s/"!!Command!!"/"$$TARGET"/g Makefile-lib > tmp; \
+ cp tmp Makefile-lib; \
+ rm tmp;
+
+help_makeTemplate::
+ @echo
+ @echo "Makefile for Template"
+ @echo "This is Makefile to create the Template Makefile for Small Tools, TIPS, and so on."
+ @echo
+ @echo " (Command):"
+ @echo " make XXXX: create XXXX directory and Makefile."
+ @echo " if exist the directory already, do not process."
+ @echo
+
\ No newline at end of file
# Defined at Sub
#### INCLUDE ####
--include ${EOS_HOME}/tutorial/TIPS/Help/Makefile.config
--include Makefile.config
+-include ${EOS_HOME}/tutorial/TIPS/Help/Makefile-lib
+-include Makefile-lib
#### Definition ####
# Path of Input File
@echo " (Command):"
@echo " Initial: Create Initial File for execution."
@echo " (Setting Data):"
- @echo " INI: input extention"
+ @echo " INI: input extention for Initial"
@echo " INIpad: for -i"
@echo " MASK: for -mask"
@echo " MASKBACK: for -maskBack"
.SUFFIXES: .$(INI) .$(INI)info .$(FSC)
#### INCLUDE ####
--include ${EOS_HOME}/tutorial/TIPS/MaskImage/Makefile.config
--include ${EOS_HOME}/tutorial/TIPS/BackImage/Makefile.config
+-include ${EOS_HOME}/tutorial/TIPS/MaskImage/Makefile-lib
+-include ${EOS_HOME}/tutorial/TIPS/BackImage/Makefile-lib
#### Definition ####
# Defined at Main
# Defined at Sub
#### INCLUDE ####
--include ${EOS_HOME}/tutorial/TIPS/Help/Makefile.config
--include Makefile.config
+-include ${EOS_HOME}/tutorial/TIPS/Help/Makefile-lib
+-include Makefile-lib
#### Definition ####
### FileData
.SUFFIXES: .$(NUL) .$(IN_BACK) .$(BACK)
#### INCLUDE ####
--include ${EOS_HOME}/tutorial/TIPS/NulImage/Makefile.config
+-include ${EOS_HOME}/tutorial/TIPS/NulImage/Makefile-lib
#### Definition ####
# Defined at Main
# Defined at Sub
#### INCLUDE ####
--include Makefile.config
+-include Makefile-lib
#### Definition ####
### FileData
.SUFFIXES: .$(NUL) .$(ONE) .$(GRID)
#### INCLUDE ####
--include ${EOS_HOME}/tutorial/TIPS/NulImage/Makefile.config
+-include ${EOS_HOME}/tutorial/TIPS/NulImage/Makefile-lib
#### Definition ####
# Defined at Main
# Defined at Sub
#### INCLUDE ####
--include Makefile.config
+-include Makefile-lib
#### Definition ####
## For define varioable
# Defined at Sub
#### INCLUDE ####
--include ${EOS_HOME}/tutorial/TIPS/Help/Makefile.config
--include Makefile.config
+-include ${EOS_HOME}/tutorial/TIPS/Help/Makefile-lib
+-include Makefile-lib
#### Definition ####
### FileData
# Defined at Sub
#### INCLUDE ####
--include ${EOS_HOME}/tutorial/TIPS/Help/Makefile.config
--include Makefile.config
+-include ${EOS_HOME}/tutorial/TIPS/Help/Makefile-lib
+-include Makefile-lib
#### Definition ####
### FileData