Skip to content
Snippets Groups Projects
Commit abc0cce3 authored by Sergey Kosukhin's avatar Sergey Kosukhin
Browse files

Remove what seem to be redundancies for clean-related rules in the makefiles.

parent 59a95a9f
No related branches found
No related tags found
2 merge requests!11Consolidation with CDI-PIO (1.8.x),!8Consolidation with CDI-PIO (1.8.x)
...@@ -30,9 +30,7 @@ if ENABLE_ALL_STATIC ...@@ -30,9 +30,7 @@ if ENABLE_ALL_STATIC
createtable_LDFLAGS = -all-static createtable_LDFLAGS = -all-static
endif endif
clean-local: clean-local-dirs clean-local:
.PHONY: clean-local-dirs
clean-local-dirs:
-rm -rf *.dSYM -rm -rf *.dSYM
# overrides to make regular compilations also use libtool # overrides to make regular compilations also use libtool
......
...@@ -57,9 +57,7 @@ else ...@@ -57,9 +57,7 @@ else
cdi_read_f2003.$(OBJEXT) cdi_write_f2003.$(OBJEXT): $(top_builddir)/src/mo_cdi.$(FCMODEXT) cdi_read_f2003.$(OBJEXT) cdi_write_f2003.$(OBJEXT): $(top_builddir)/src/mo_cdi.$(FCMODEXT)
endif endif
clean-local: clean-local-dirs clean-local:
.PHONY: clean-local-dirs
clean-local-dirs:
-rm -rf *.dSYM -rm -rf *.dSYM
# overrides to make regular compilations also use libtool # overrides to make regular compilations also use libtool
......
...@@ -34,9 +34,7 @@ compareResourcesArray_SOURCES = compareResourcesArray.c ...@@ -34,9 +34,7 @@ compareResourcesArray_SOURCES = compareResourcesArray.c
collectData2003_SOURCES = collectData2003.F90 collectData2003_SOURCES = collectData2003.F90
clean-local: clean-local-dirs clean-local:
.PHONY: clean-local-dirs
clean-local-dirs:
-rm -rf *.dSYM -rm -rf *.dSYM
# overrides to make regular compilations also use libtool # overrides to make regular compilations also use libtool
......
...@@ -137,10 +137,8 @@ else ...@@ -137,10 +137,8 @@ else
test_resource_copy_mpi_LDADD = $(LDADD) $(UUID_C_LIB) test_resource_copy_mpi_LDADD = $(LDADD) $(UUID_C_LIB)
endif endif
clean-local: clean-local-dirs clean-local:
-rm -f *.grb *.grb2 *.nc *.nc2 *.nc4 *.srv *.svc *.ext *.cksum *.ieg *.log *.stderr *.stdout -rm -f *.grb *.grb2 *.nc *.nc2 *.nc4 *.srv *.svc *.ext *.cksum *.ieg *.log *.stderr *.stdout
.PHONY: clean-local-dirs
clean-local-dirs:
-rm -rf test_cdf_const.d *.dSYM -rm -rf test_cdf_const.d *.dSYM
AUTOMAKE_OPTIONS = color-tests AUTOMAKE_OPTIONS = color-tests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment