@@ -28,7 +28,7 @@ LDLIBS = $(call pkgconf, --libs-only-l $(PETSc.pc) $(ceed.pc)) -lm
28
28
OBJDIR := build
29
29
SRCDIR := src
30
30
31
- all : area bps bpsraw bpssphere dmswarm multigrid
31
+ all : area bddc bps bpsraw bpssphere dmswarm multigrid
32
32
33
33
utils.c := $(sort $(wildcard $(SRCDIR ) /* .c) )
34
34
utils.o = $(utils.c:%.c=$(OBJDIR ) /%.o )
@@ -40,7 +40,13 @@ area.o = $(area.c:%.c=$(OBJDIR)/%.o)
40
40
area : $(area.o ) libutils.a | $(PETSc.pc ) $(ceed.pc )
41
41
$(call quiet,LINK.o) $(CEED_LDFLAGS ) $^ $(LOADLIBES ) $(LDLIBS ) -o $@
42
42
43
- bps.c := bps.c
43
+ bddc.c := bddc.c
44
+ bddc.c := bddc.c $(utils.c )
45
+ bddc.o = $(bddc.c:%.c=$(OBJDIR ) /%.o )
46
+ bddc : $(bddc.o ) libutils.a | $(PETSc.pc ) $(ceed.pc )
47
+ $(call quiet,LINK.o) $(CEED_LDFLAGS ) $^ $(LOADLIBES ) $(LDLIBS ) -o $@
48
+
49
+ bps.c := bps.c $(utils.c )
44
50
bps.o = $(bps.c:%.c=$(OBJDIR ) /%.o )
45
51
bps : $(bps.o ) libutils.a | $(PETSc.pc ) $(ceed.pc )
46
52
$(call quiet,LINK.o) $(CEED_LDFLAGS ) $^ $(LOADLIBES ) $(LDLIBS ) -o $@
@@ -94,7 +100,7 @@ print: $(PETSc.pc) $(ceed.pc)
94
100
@true
95
101
96
102
clean :
97
- $(RM ) -r $(OBJDIR ) * .vtu area bps bpsraw bpssphere dmswarm multigrid libutils.a
103
+ $(RM ) -r $(OBJDIR ) * .vtu area bddc bps bpsraw bpssphere dmswarm multigrid libutils.a
98
104
99
105
$(PETSc.pc ) :
100
106
$(if $(wildcard $@ ) ,,$(error \
0 commit comments