本文发表在 rolia.net 枫下论坛#-------------------------------------------------------------#
# Note:This makefile is researched by why in 2001/10/10. #
# Anyone can use it to develop his own applications. #
# But remember,never use it without any changes! #
#-------------------------------------------------------------#
#-------------------------------------------------------------#
# Part I: ENVIROMENTS #
# (环境变量) #
include ../_css_precomp.mk
#-------------------------------------------------------------#
#-------------------------------------------------------------#
# Part II: YOUR PROGRAMS #
# Note:Write down your maps and procob programs! #
# (在此加入你想编译的map和cobol程序) #
MAPS= cvmprim cvmprid
PROCOBS= cvoprim cvoprid
#-------------------------------------------------------------#
#-------------------------------------------------------------#
# Part III: MACROS #
# #
INSTALL= install
CLEAN= clean
all:$(MAPS) $(PROCOBS) $(INSTALL) $(CLEAN)
#-------------------------------------------------------------#
$(MAPS):
cicsmap $@.bms
$(PROCOBS):
$(PROCOB) $(PROCOBFLAGS) iname=$@.pco
mv $@.cob $@.ccp
$(CICSTCL) -e -d -lCOBOL $@
$(INSTALL):
cp -f *.map $(ROOTMAPBIN)
mv *.map $(CSSMAPBIN)
cp -f *.gnt $(ROOTBIN)
mv *.gnt $(CSSBIN)
$(CLEAN):
rm *.lis *.ccp
-------------------------------------------------------------------------------------
_css_precomp.mk
#-------------------------------------------------------------#
# Part I: ENVIROMENTS #
# (环境变量) #
#-------------------------------------------------------------#
CSSPATH=/home/csskf
CSSBIN=$(CSSPATH)/run/bin
CSSMAPBIN=$(CSSPATH)/run/mapbin
ROOTPATH=/home/csskf
ROOTBIN=$(ROOTPATH)/run/bin
ROOTMAPBIN=$(ROOTPATH)/run/mapbin
PROCOB=$(ORACLE_HOME)/bin/procob
PROCOBFLAGS=release_cursor=yes sqlcheck=syntax ireclen=512
CICSTCL=cicstcl
#-------------------------------------------------------------#更多精彩文章及讨论,请光临枫下论坛 rolia.net
# Note:This makefile is researched by why in 2001/10/10. #
# Anyone can use it to develop his own applications. #
# But remember,never use it without any changes! #
#-------------------------------------------------------------#
#-------------------------------------------------------------#
# Part I: ENVIROMENTS #
# (环境变量) #
include ../_css_precomp.mk
#-------------------------------------------------------------#
#-------------------------------------------------------------#
# Part II: YOUR PROGRAMS #
# Note:Write down your maps and procob programs! #
# (在此加入你想编译的map和cobol程序) #
MAPS= cvmprim cvmprid
PROCOBS= cvoprim cvoprid
#-------------------------------------------------------------#
#-------------------------------------------------------------#
# Part III: MACROS #
# #
INSTALL= install
CLEAN= clean
all:$(MAPS) $(PROCOBS) $(INSTALL) $(CLEAN)
#-------------------------------------------------------------#
$(MAPS):
cicsmap $@.bms
$(PROCOBS):
$(PROCOB) $(PROCOBFLAGS) iname=$@.pco
mv $@.cob $@.ccp
$(CICSTCL) -e -d -lCOBOL $@
$(INSTALL):
cp -f *.map $(ROOTMAPBIN)
mv *.map $(CSSMAPBIN)
cp -f *.gnt $(ROOTBIN)
mv *.gnt $(CSSBIN)
$(CLEAN):
rm *.lis *.ccp
-------------------------------------------------------------------------------------
_css_precomp.mk
#-------------------------------------------------------------#
# Part I: ENVIROMENTS #
# (环境变量) #
#-------------------------------------------------------------#
CSSPATH=/home/csskf
CSSBIN=$(CSSPATH)/run/bin
CSSMAPBIN=$(CSSPATH)/run/mapbin
ROOTPATH=/home/csskf
ROOTBIN=$(ROOTPATH)/run/bin
ROOTMAPBIN=$(ROOTPATH)/run/mapbin
PROCOB=$(ORACLE_HOME)/bin/procob
PROCOBFLAGS=release_cursor=yes sqlcheck=syntax ireclen=512
CICSTCL=cicstcl
#-------------------------------------------------------------#更多精彩文章及讨论,请光临枫下论坛 rolia.net