ifeq ($(enable-multigrid),yes)
-all: grid_test.check dof_test.check fe_tables.check gradients.check \
- constraints.check mg.check mglocal.check second_derivatives.check wave-test-3.check
+all = grid_test.check dof_test.check fe_tables.check gradients.check \
+ constraints.check mg.check mglocal.check second_derivatives.check wave-test-3.check
else
-all: grid_test.check dof_test.check fe_tables.check gradients.check \
- constraints.check second_derivatives.check wave-test-3.check
+all = grid_test.check dof_test.check fe_tables.check gradients.check \
+ constraints.check second_derivatives.check wave-test-3.check
endif
+all: $(all)
exe: $(all:.check=.testcase) benchmark
run: $(all:.check=.output)
+all-cc = $(all:.check=.cc)
############################################################
# Typical block for building a running program
#
# Automatic generation of dependencies
############################################################
-all-cc-files = $(shell echo *.cc)
-
-Make.depend: $(all-cc-files)
+Make.depend: $(all-cc)
@echo =====Dependencies== Make.depend
@$(CXX) $(flags) $^ -M > $@
@perl -pi -e 's/(^[^.]+)\.o:/\1.o \1.go:/;' $@