blob: 430ba6ebe8207c8cacd9ab2995852155585fb358 (
plain) (
blame)
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
|
--- Makefile.orig Wed Jun 7 19:24:45 2000
+++ Makefile Wed Jun 7 19:27:38 2000
@@ -7,7 +7,8 @@
# make Makes the MOPAC file
# make clean Clean up disk to minimum config
#
-FFLAGS = -O2 -w
+FFLAGS = -O -Wall
+CFLAGS = -I$(PREFIX)/include -Wall
HDRS = SIZES
SRCS := $(shell ls *.f)
CSRCS := $(shell ls *.c)
@@ -15,14 +16,16 @@
SIZEDEPSRC := $(shell grep -l -i ' INCLUDE ' *.f; true)
SIZEDEPEND = $(SIZEDEPSRC:.f=.o)
MOPAC = MOPAC7
-MOPACSHELL = mopac
-BINDIR = /usr/local/bin
+MOPACSHELL = rmopac
+BINDIR = $(PREFIX)/bin
OWNER = root.bin
$(MOPAC): SIZES $(OBJS)
@echo -n "Loading $@ ... "
- f77 -O $(OBJS) -o $@
+ $(FC) $(OBJS) $(LFLAGS) -o $@
@echo "done"
+
+all: $(MOPAC)
clean:
$(RM) $(OBJS) *.trace core
|