From ed803a193585544d2c4a290e95700cf9b68d0f10 Mon Sep 17 00:00:00 2001 From: Andrea Canciani Date: Thu, 16 Feb 2012 19:21:47 +0100 Subject: build: Add 'clean' target to Makefile.win32 build system The Makefile.win32 in the subdirectories provide a working 'clean' target (defined in Makefile.win32.common), the central Makefile.win32 'clean' target does not do anything. Replace the noop 'clean' target with one that cleans all the subdirs. --- build/Makefile.win32.common | 15 +-------------- build/Makefile.win32.inform | 13 +++++++++++++ 2 files changed, 14 insertions(+), 14 deletions(-) create mode 100644 build/Makefile.win32.inform (limited to 'build') diff --git a/build/Makefile.win32.common b/build/Makefile.win32.common index eb3fb6b9..01a38cd3 100644 --- a/build/Makefile.win32.common +++ b/build/Makefile.win32.common @@ -3,6 +3,7 @@ default: all # # Edit build/Makefile.win32.features to enable features to build # +include $(top_srcdir)/build/Makefile.win32.inform include $(top_srcdir)/build/Makefile.win32.features include $(top_srcdir)/build/Makefile.win32.features-h @@ -48,20 +49,6 @@ DEFAULT_ARFLAGS = -nologo CAIRO_LDFLAGS = $(DEFAULT_LDFLAGS) $(LDFLAGS) CAIRO_ARFLAGS = $(DEFAULT_ARFLAGS) $(LDFLAGS) -inform: - @echo -ifneq ($(CFG),release) -ifneq ($(CFG),debug) - @echo "Invalid configuration "$(CFG)" specified." - @echo -n "You must specify a configuration when " - @echo "running make, e.g. make CFG=debug" - @echo - @echo -n "Possible choices for configuration are " - @echo "'release' and 'debug'" - @exit 1 -endif -endif - # Some generic rules $(CFG)/%.obj: %.c $(top_srcdir)/src/cairo-features.h diff --git a/build/Makefile.win32.inform b/build/Makefile.win32.inform new file mode 100644 index 00000000..ba111650 --- /dev/null +++ b/build/Makefile.win32.inform @@ -0,0 +1,13 @@ +inform: + @echo +ifneq ($(CFG),release) +ifneq ($(CFG),debug) + @echo "Invalid configuration "$(CFG)" specified." + @echo -n "You must specify a configuration when " + @echo "running make, e.g. make CFG=debug" + @echo + @echo -n "Possible choices for configuration are " + @echo "'release' and 'debug'" + @exit 1 +endif +endif -- cgit v1.2.3