Skip to content

Commit 9aa2953

Browse files
committed
libMesh example: Makefile for Mac OS.
1 parent 8c8bb36 commit 9aa2953

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

program/dfa-lib/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ MACOS ?= 1
55
DFANALYZER_DIR ?= ./dfanalyzer
66
target := lib/libdfanalyzer.so
77

8-
98
###############################################################################
109
# File management. This is where the source, header, and object files are
1110
# defined

program/systems_of_equations_ex2/Makefile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
######################################################################
22
#
33
# Template libMesh application Makefile
4-
LIBMESH_DIR ?= /media/vitor/data-linux/program/libmesh
5-
DFANALYZER_DIR ?= /home/vitor/Documents/dev/workflow-sedimentation/program/dfa-lib
4+
MACOS ?= 1
5+
DFANALYZER_DIR ?= $(DEV)/workflow-sedimentation/program/dfa-lib
66

7+
ifeq (${MACOS}, 1)
8+
LIBMESH_DIR ?= $(PROGRAM)/libmesh_apr_2018
9+
else
10+
LIBMESH_DIR ?= $(PROGRAM)/libmesh
11+
endif
712

813
# include the library options determined by configure
914
include $(LIBMESH_DIR)/Make.common
@@ -18,7 +23,7 @@ target := ./example-$(METHOD)
1823
#
1924
# source files
2025
srcfiles := $(wildcard *.C)
21-
libmesh_CXXFLAGS += -I$(DFANALYZER_DIR)/include
26+
libmesh_CXXFLAGS += -w -I$(DFANALYZER_DIR)/include
2227
libmesh_LDFLAGS += -lcurl -L$(DFANALYZER_DIR)/lib -ldfanalyzer
2328

2429
# libmesh_CXXFLAGS += -I$(DFANALYZER_DIR)/include
205 KB
Binary file not shown.

0 commit comments

Comments
 (0)