summaryrefslogtreecommitdiff
path: root/science/qwalk/files/patch-make_FreeBSD.mk
blob: 382c5327bf033e95e7a8a31483392f2106298742 (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
--- make/FreeBSD.mk.orig	2018-08-21 01:16:34 UTC
+++ make/FreeBSD.mk
@@ -0,0 +1,26 @@
+######################################################################
+# Compiler definitions for Linux systems
+#  all compiler specific information should be declared here
+
+
+CXX?=c++
+F77?=gfortran
+
+CXXFLAGS += \
+   -funroll-loops -ffast-math \
+  $(INCLUDEPATH) -fomit-frame-pointer
+
+
+DEBUG:= -Wall -DNO_RANGE_CHECKING -DNDEBUG    -DDEBUG_WRITE
+LDFLAGS:= 
+
+HDF_LIBS=-lhdf5
+#HDF_INCLUDE=
+
+XML_LIBS:=$(shell xml2-config --libs)
+XML_INCLUDE:=$(shell xml2-config --cflags)
+
+######################################################################
+# This is the invokation to generate dependencies
+DEPENDMAKER:=c++ -MM  $(INCLUDEPATH)
+