Skip to content

Commit

Permalink
Do the bare minimum in platypus.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
nmnobre committed Dec 19, 2024
1 parent fa3412c commit 402ec23
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions platypus.mk
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
MFEM_DIR ?=$(APPLICATION_DIR)/../mfem/build
MFEM_INC_DIR ?=$(MFEM_DIR)/include
MFEM_DIR ?= $(APPLICATION_DIR)/../mfem/installed

MFEM_INCLUDES := -I$(MFEM_DIR)/include
MFEM_LIBS := -Wl,-rpath,$(MFEM_DIR)/lib -L$(MFEM_DIR)/lib -lmfem -lrt -lmfem-common
include $(MFEM_DIR)/share/mfem/config.mk

ADDITIONAL_INCLUDES += $(MFEM_INCLUDES)
ADDITIONAL_LIBS += $(MFEM_LIBS) ${MFEM_EXT_LIBS}
ADDITIONAL_INCLUDES += $(MFEM_INCFLAGS)
ADDITIONAL_LIBS += $(MFEM_LIBS) -lmfem-common

$(info ADDITIONAL_INCLUDES = $(ADDITIONAL_INCLUDES));
$(info ADDITIONAL_LIBS = $(ADDITIONAL_LIBS));

0 comments on commit 402ec23

Please sign in to comment.