@@ -28,7 +28,7 @@ LDLIBS = $(call pkgconf, --libs-only-l $(PETSc.pc) $(ceed.pc)) -lm
2828OBJDIR := build
2929SRCDIR := src
3030
31- all : area bps bpsraw bpssphere dmswarm multigrid
31+ all : area bddc bps bpsraw bpssphere dmswarm multigrid
3232
3333utils.c := $(sort $(wildcard $(SRCDIR ) /* .c) )
3434utils.o = $(utils.c:%.c=$(OBJDIR ) /%.o )
@@ -40,7 +40,13 @@ area.o = $(area.c:%.c=$(OBJDIR)/%.o)
4040area : $(area.o ) libutils.a | $(PETSc.pc ) $(ceed.pc )
4141 $(call quiet,LINK.o) $(CEED_LDFLAGS ) $^ $(LOADLIBES ) $(LDLIBS ) -o $@
4242
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 )
4450bps.o = $(bps.c:%.c=$(OBJDIR ) /%.o )
4551bps : $(bps.o ) libutils.a | $(PETSc.pc ) $(ceed.pc )
4652 $(call quiet,LINK.o) $(CEED_LDFLAGS ) $^ $(LOADLIBES ) $(LDLIBS ) -o $@
@@ -94,7 +100,7 @@ print: $(PETSc.pc) $(ceed.pc)
94100 @true
95101
96102clean :
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
98104
99105$(PETSc.pc ) :
100106 $(if $(wildcard $@ ) ,,$(error \
0 commit comments