############################################################
-logtest.exe : $(libraries) logtest.go
-polynomial_test.exe: $(libraries) polynomial_test.go
-quadrature_test.exe: $(libraries) quadrature_test.go
-reference.exe : $(libraries) reference.go abort.go
-tensor.exe : $(libraries) tensor.go
-timer.exe : $(libraries) timer.go
+logtest.exe : logtest.go $(libraries)
+polynomial_test.exe: polynomial_test.go $(libraries)
+quadrature_test.exe: quadrature_test.go $(libraries)
+reference.exe : reference.go abort.go $(libraries)
+tensor.exe : tensor.go $(libraries)
+timer.exe : timer.go $(libraries)
tests = logtest quadrature_test reference tensor timer
############################################################
-block_matrices.exe : $(libraries) $(lib-2d) block_matrices.go
-constraints.exe : $(libraries) $(lib-2d) $(lib-3d) constraints.go
-data_out.exe : $(libraries) $(lib-2d) $(lib-3d) data_out.go
-derivative_approximation.exe : $(libraries) $(lib-1d) $(lib-2d) $(lib-3d) derivative_approximation.go
-derivatives.exe : $(libraries) $(lib-1d) $(lib-2d) $(lib-3d) derivatives.go
-dof_test.exe : $(libraries) $(lib-2d) $(lib-3d) dof_test.go
-error_estimator.exe : $(libraries) $(lib-1d) $(lib-2d) $(lib-3d) error_estimator.go
-gradients.exe : $(libraries) $(lib-2d) gradients.go
-grid_test.exe : $(libraries) $(lib-2d) $(lib-3d) grid_test.go
-intergrid_constraints.exe : $(libraries) $(lib-1d) $(lib-2d) $(lib-3d) intergrid_constraints.go
-intergrid_map.exe : $(libraries) $(lib-1d) $(lib-2d) $(lib-3d) intergrid_map.go
-matrices.exe : $(libraries) $(lib-1d) $(lib-2d) $(lib-3d) matrices.go
-mg.exe : $(libraries) $(lib-2d) mg.go
-mglocal.exe : $(libraries) $(lib-2d) mglocal.go
-second_derivatives.exe : $(libraries) $(lib-2d) second_derivatives.go
-wave-test-3.exe : $(libraries) $(lib-2d) wave-test-3.go
+block_matrices.exe : block_matrices.go $(lib-2d) $(libraries)
+constraints.exe : constraints.go $(lib-2d) $(lib-3d) $(libraries)
+data_out.exe : data_out.go $(lib-2d) $(lib-3d) $(libraries)
+derivative_approximation.exe : derivative_approximation.go $(lib-1d) $(lib-2d) $(lib-3d) $(libraries)
+derivatives.exe : derivatives.go $(lib-1d) $(lib-2d) $(lib-3d) $(libraries)
+dof_test.exe : dof_test.go $(lib-2d) $(lib-3d) $(libraries)
+error_estimator.exe : error_estimator.go $(lib-1d) $(lib-2d) $(lib-3d) $(libraries)
+gradients.exe : gradients.go $(lib-2d) $(libraries)
+grid_test.exe : grid_test.go $(lib-2d) $(lib-3d) $(libraries)
+intergrid_constraints.exe : intergrid_constraints.go $(lib-1d) $(lib-2d) $(lib-3d) $(libraries)
+intergrid_map.exe : intergrid_map.go $(lib-1d) $(lib-2d) $(lib-3d) $(libraries)
+matrices.exe : matrices.go $(lib-1d) $(lib-2d) $(lib-3d) $(libraries)
+mg.exe : mg.go $(lib-2d) $(libraries)
+mglocal.exe : mglocal.go $(lib-2d) $(libraries)
+second_derivatives.exe : second_derivatives.go $(lib-2d) $(libraries)
+wave-test-3.exe : wave-test-3.go $(lib-2d) $(libraries)
############################################################
-derivatives.exe : $(libraries) derivatives.go
-fe_data_test.exe : $(libraries) fe_data_test.go
-mapping.exe : $(libraries) mapping.go
-mapping_c1.exe : $(libraries) mapping_c1.go
-shapes.exe : $(libraries) shapes.go
+derivatives.exe : derivatives.go $(libraries)
+fe_data_test.exe : fe_data_test.go $(libraries)
+mapping.exe : mapping.go $(libraries)
+mapping_c1.exe : mapping_c1.go $(libraries)
+shapes.exe : shapes.go $(libraries)
tests = derivatives fe_data_test mapping mapping_c1 shapes
############################################################
-block_matrices.exe : $(libraries) block_matrices.go
-block_vector.exe : $(libraries) block_vector.go abort.go
-full_matrix.exe : $(libraries) full_matrix.go
-solver.exe : $(libraries) solver.go testmatrix.go
-sparse_ilu.exe : $(libraries) sparse_ilu.go testmatrix.go
-vector-vector.exe : $(libraries) vector-vector.go
-#mgbase.exe : $(libraries) mgbase.go
-#mg.exe : $(libraries) mg.go testmatrix.go
+block_matrices.exe : block_matrices.go $(libraries)
+block_vector.exe : block_vector.go abort.go $(libraries)
+full_matrix.exe : full_matrix.go $(libraries)
+solver.exe : solver.go testmatrix.go $(libraries)
+sparse_ilu.exe : sparse_ilu.go testmatrix.go $(libraries)
+vector-vector.exe : vector-vector.go $(libraries)
+#mgbase.exe : mgbase.go $(libraries)
+#mg.exe : mg.go testmatrix.go $(libraries)
tests = block_matrices block_vector full_matrix solver sparse_ilu vector-vector