clean:
- -rm -f *~ include/*~ include/*/*~ lib/Makefile.dep
+ -rm -f *~ include/*~ include/*/*~ Makefile.dep
#Rule to generate the dependency file. This file is
#note that here we translate file names with data_out_base
#to three file names with the dimension for which we compile
#appended
-lib/Makefile.dep: $(cc-files) $(forward-declarations) $(h-files) Makefile
+Makefile.dep: $(cc-files) $(forward-declarations) $(h-files) Makefile
@echo ============================ Remaking Makefile
@$(PERL) $D/common/scripts/make_dependencies.pl $(INCLUDE) "-B\$$(LIBDIR)/base" $(cc-files) \
| $(PERL) -p -e 's!(.*/base/data_out_base)(.g?o)!$$1_1d$$2 $$1_2d$$2 $$1_3d$$2 $$1_4d$$2!g;' \
- > lib/Makefile.dep
+ > Makefile.dep
# include all the dependencies
-include lib/Makefile.dep
+include Makefile.dep
# include a rule which tells how to remake the forward declarations file
include $D/common/scripts/forward_declarations
#one of the cc-/h-files changed. Make detects whether
#to remake this file upon inclusion at the bottom
#of this file.
-lib/Makefile.dep: $(cc-files) $(forward-declarations) $(h-files) Makefile
+Makefile.dep: $(cc-files) $(forward-declarations) $(h-files) Makefile
@echo ============================ Remaking Makefile
@$(PERL) $D/common/scripts/make_dependencies.pl $(INCLUDE) "-B\$$(LIBDIR)" $(cc-files) \
| $(PERL) -p -e 's!LIBDIR\)/(.*):!LIBDIR)/DIM_PLACEHOLDER/$$1:!g;' \
| $(PERL) -pe 's!(\.g?o):!_DIM_PLACEHOLDER$$1:!g;' \
| $(PERL) -pe 's!^(.*)/DIM_PLACEHOLDER/(.*)_DIM_PLACEHOLDER(\..*):!$$1/1d/$$2_1d$$3 $$1/2d/$$2_2d$$3 $$1/3d/$$2_3d$$3:!g;'\
- > lib/Makefile.dep
+ > Makefile.dep
# include all the dependencies
-include lib/Makefile.dep
+include Makefile.dep
# include a rule which tells how to remake the forward declarations file
include $D/common/scripts/forward_declarations
################### some clean-up rules
clean:
- -rm -f *~ */*~ */*/*~
+ -rm -f *~ */*~ */*/*~ Makefile.dep
cd lib ; $(MAKE) clean
clean:
- -rm -f *~ include/*~ include/*/*~ lib/Makefile.dep
+ -rm -f *~ include/*~ include/*/*~ Makefile.dep
#Rule to generate the dependency file. This file is
#one of the cc-/h-files changed. Make detects whether
#to remake this file upon inclusion at the bottom
#of this file.
-lib/Makefile.dep: $(cc-files) $(forward-declarations) $(h-files) Makefile
+Makefile.dep: $(cc-files) $(forward-declarations) $(h-files) Makefile
@echo ============================ Remaking Makefile
@$(PERL) $D/common/scripts/make_dependencies.pl $(INCLUDE) "-B\$$(LIBDIR)/lac" $(cc-files) \
- > lib/Makefile.dep
+ > Makefile.dep
# include all the dependencies
-include lib/Makefile.dep
+include Makefile.dep
# include a rule which tells how to remake the forward declarations file
include $D/common/scripts/forward_declarations