2 # This is Sub Makefile for Create Sample Image that has grid points.
5 #### Input extention ####
8 #### Suffixes rule ####
9 .SUFFIXES: .$(NUL) .$(ONE) .$(GRID)
12 -include ../NulImage/Makefile.config
17 # For ../NulImage/Makefile.config
18 NUL_FILE_NAME=$(FILE_NAME)
22 NUL_VALUE=$(BACK_VALUE)
25 #### Rules of the list created ####
30 make $(FILE_NAME).$(ONE);
33 make $(FILE_NAME).$(GRID);
36 mrc2tiff -i $(FILE_NAME).$(GRID) -o $(FILE_NAME).$(TIFF);
38 ##### Commands(Input to Output) #####
40 mrcImageScalarAdd -i $*.$(NUL) -o $*.$(ONE) -m 1 -v $(POINT_VALUE) \
41 -x $(POINT_X) -y $(POINT_Y) -z $(POINT_Z);
44 mrcImageCrystalCreate -i $*.$(ONE) -o $*.$(GRID) \
45 -nx $(NUM_X) -ny $(NUM_Y) -nz $(NUM_Z);