mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
f50819ce60
- Add MAKE_JOBS_UNSAFE - Convert to optionsng PR: ports/171970 Submitted by: KATO Tsuguru <tkato432 _at_ yahoo.com> Approved by: beat (mentor) Feature safe: yes
29 lines
752 B
Plaintext
29 lines
752 B
Plaintext
--- ambfor/makefile.orig 2011-04-29 20:40:50.000000000 +0900
|
|
+++ ambfor/makefile 2012-09-24 02:50:23.000000000 +0900
|
|
@@ -12,12 +12,12 @@
|
|
#
|
|
#
|
|
|
|
-CFLAGS = -c -g
|
|
+CFLAGS += -c
|
|
#FC = g77
|
|
-FC = gfortran
|
|
-FFLAGS = -c -g -ffast-math -funroll-loops -O3
|
|
+#FC = gfortran
|
|
+#FFLAGS = -c -g -ffast-math -funroll-loops -O3
|
|
LIBS = -lm
|
|
-LDR = ${FC} -g
|
|
+LDR = ${FC}
|
|
|
|
OBJS = angle.o bond.o charge.o conn.o enegrd.o getinp.o param.o \
|
|
tors.o vdwlj.o math.o switch.o wrtout.o pbc.o
|
|
@@ -47,7 +47,7 @@
|
|
$(LDR) -o ambmd md.o verlet.o qvdw.o allocmd.o $(OBJS) $(LIBS)
|
|
|
|
ambfor.o: ambfor.f
|
|
- ${FC} -c -g -ffast-math -funroll-loops -o ambfor.o ambfor.f
|
|
+ ${FC} -c ${FFLAGS} -o ambfor.o ambfor.f
|
|
|
|
allocmd.o: alloc.c
|
|
$(CC) $(CFLAGS) -DMD -c alloc.c -o allocmd.o
|