summaryrefslogtreecommitdiffstats
path: root/biology/mopac/files/patch-ad
blob: 82335302788e49131d2bcbcbcac1b1a456322fa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
*** Makefile.orig	Sun Apr 18 22:38:02 1999
--- Makefile	Sun Apr 18 22:49:30 1999
***************
*** 8,13 ****
--- 8,14 ----
  #	make clean	Clean up disk to minimum config
  #
  FFLAGS	        = -O2 -w
+ LFLAGS		= -lf2c
  HDRS		= SIZES
  SRCS		:= $(shell ls *.f)
  CSRCS           := $(shell ls *.c) 
***************
*** 15,28 ****
  SIZEDEPSRC	:= $(shell grep -l -i '      INCLUDE ' *.f; true)
  SIZEDEPEND	= $(SIZEDEPSRC:.f=.o)
  MOPAC		= MOPAC7
! MOPACSHELL	= mopac
  BINDIR		= /usr/local/bin
  OWNER		= root.bin
  
  $(MOPAC):     	SIZES $(OBJS) 
  		@echo -n "Loading $@ ... "
! 		f77 -O $(OBJS) -o $@
  		@echo "done"
  
  clean:
  	 	$(RM) $(OBJS) *.trace core
--- 16,31 ----
  SIZEDEPSRC	:= $(shell grep -l -i '      INCLUDE ' *.f; true)
  SIZEDEPEND	= $(SIZEDEPSRC:.f=.o)
  MOPAC		= MOPAC7
! MOPACSHELL	= rmopac
  BINDIR		= /usr/local/bin
  OWNER		= root.bin
  
  $(MOPAC):     	SIZES $(OBJS) 
  		@echo -n "Loading $@ ... "
! 		$(FC) -O $(OBJS) $(LFLAGS) -o $@
  		@echo "done"
+ 
+ all:          $(MOPAC)
  
  clean:
  	 	$(RM) $(OBJS) *.trace core
OpenPOWER on IntegriCloud