Lines Matching +full:- +full:o +full:-
2 # the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights
6 # libraries and APIs for efficient high-order finite element and spectral
10 # The CEED research is supported by the Exascale Computing Project (17-SC-20-SC)
18 -include $(CONFIG)
20 -include $(COMMON)
26 CC = $(call pkgconf, --variable=ccompiler $(PETSc.pc) $(ceed.pc))
27 CFLAGS = -std=c11 \
28 $(call pkgconf, --variable=cflags_extra $(PETSc.pc)) \
29 $(call pkgconf, --cflags-only-other $(PETSc.pc)) \
31 CPPFLAGS = $(call pkgconf, --cflags-only-I $(PETSc.pc) $(ceed.pc)) \
32 $(call pkgconf, --variable=cflags_dep $(PETSc.pc))
33 LDFLAGS = $(call pkgconf, --libs-only-L --libs-only-other $(PETSc.pc) $(ceed.pc))
34 LDFLAGS += $(patsubst -L%, $(call pkgconf, --variable=ldflag_rpath $(PETSc.pc))%, $(call pkgconf, -…
35 LDLIBS = $(call pkgconf, --libs-only-l $(PETSc.pc) $(ceed.pc)) -lm
40 AFLAGS ?= -fsanitize=address
41 # Also: -fsanitize=undefined -fno-omit-frame-pointer
45 CPPFLAGS += -I./include
53 src.o = $(src.c:%.c=$(OBJDIR)/%.o)
57 navierstokes: $(src.o) | $(PETSc.pc) $(ceed.pc)
58 $(call quiet,LINK.o) $(LDFLAGS) $^ $(LOADLIBES) $(LDLIBS) -o $@
62 @mkdir -p $(@D)
68 $(OBJDIR)/%.o : %.c Makefile | $$(@D)/.DIR
69 $(call quiet,CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $(abspath $<)
80 print-% :
90 $(RM) -r $(OBJDIR) navierstokes *.vtu *.bin* *.csv *.png
98 pkgconf = $(shell pkg-config $(if $(STATIC),--static) $1 | sed -e 's/^"//g' -e 's/"$$//g')
100 -include $(src.o:%.o=%.d)