CCL Home Page
Up Directory CCL mopac7.patch.unoff.gnu-make
Patch #:        00
Type:           unofficial update
Priority:       none
Reported:       Jiro TOYODA 
Archived:       solaris.ims.ac.jp:/pub/qcpe/mopac7/mopac7.patch.unoff.gnu-make
Application:    'patch -p < mopac7.patch.unoff.gnu-make'
Summary:        Makefile for GNU make .
File:           mopac7/Makefile


*** mopac7/Makefile.orig	Tue Jan 26 09:11:48 1993
--- mopac7/Makefile	Thu May 26 10:59:02 1994
***************
*** 7,29 ****
  #	make		Makes the MOPAC file
  #	make clean	Clean up disk to minimum config
  #
! FFLAGS	        = -O  -c  -static
  HDRS		= SIZES
! SRCS:sh		= ls *.f 
  OBJS		= $(SRCS:.f=.o)
! SIZEDEPSRC:sh	= grep -l -i '      INCLUDE ' *.f; true
  SIZEDEPEND	= $(SIZEDEPSRC:.f=.o)
  
! mopac.exe:     	SIZES $(OBJS) 
! 		@echo -n "Loading mopac.exe ... "
! 		f77 -O $(OBJS) -o mopac.exe
  		@echo "done"
  
  clean:
! 	 	rm -f $(OBJS)
  
  
! $(SIZEDEPEND):	$$< $(HDRS) 
! 		$(FC) $(FFLAGS) $<
  
  ###
--- 7,47 ----
  #	make		Makes the MOPAC file
  #	make clean	Clean up disk to minimum config
  #
! FFLAGS	        = -O -c -static
  HDRS		= SIZES
! SRCS		:= $(shell ls *.f)
  OBJS		= $(SRCS:.f=.o)
! SIZEDEPSRC	:= $(shell grep -l -i '      INCLUDE ' *.f; true)
  SIZEDEPEND	= $(SIZEDEPSRC:.f=.o)
+ MOPAC		= MOPAC
+ MOPACSHELL	= mopac.csh
+ BINDIR		= /usr/local/bin
+ OWNER		= root.bin
  
! $(MOPAC):     	SIZES $(OBJS) 
! 		@echo -n "Loading $@ ... "
! 		f77 -O $(OBJS) -o $@
  		@echo "done"
  
  clean:
! 	 	$(RM) $(OBJS) *.trace core
  
+ cleandepend:
+ 		$(RM) $(SIZEDEPEND) *.trace core
  
! cleanall:	clean
! 		$(RM) $(MOPAC)
! 
! deinstall:
! 		$(RM) $(BINDIR)/$(MOPAC) $(BINDIR)/$(MOPACSHELL)
! 
! install:	$(MOPAC) $(MOPACSHELL)
! 		strip $(MOPAC)
! 		chmod 755 $(MOPAC) $(MOPACSHELL)
! 		chown $(OWNER) $(MOPAC) $(MOPACSHELL)
! 		/bin/cp -p $(MOPAC) $(BINDIR)/$(MOPAC)
! 		/bin/cp -p $(MOPACSHELL) $(BINDIR)/$(MOPACSHELL)
! 
! $(SIZEDEPEND):	$(HDRS) 
  
  ###
Modified: Thu Aug 18 16:00:00 1994 GMT
Page accessed 8644 times since Sat Apr 17 21:34:49 1999 GMT