buildsystem; makefiles; tarball: always use ifeq/ifneq (,) form instead of double...
[sdk] / ear / Makefile
index 7638afd..44cc60e 100644 (file)
@@ -1,5 +1,7 @@
+ifneq ($(V),1)
 .SILENT:
-.PHONY: all nores clean realclean distclean
+endif
+.PHONY: all nores cleantarget clean realclean distclean
 
 # CROSS-PLATFORM MAGIC
 
@@ -16,6 +18,10 @@ nores:
        @$(call echo,Building eAR command line tool...)
        cd cmd && $(MAKE) nores
 
+cleantarget:
+       cd extract && $(MAKE) cleantarget
+       cd cmd && $(MAKE) cleantarget
+
 clean:
        cd extract && $(MAKE) clean
        cd cmd && $(MAKE) clean