summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2012-02-16 19:21:47 +0100
committerAndrea Canciani <ranma42@gmail.com>2012-02-16 23:00:46 +0100
commited803a193585544d2c4a290e95700cf9b68d0f10 (patch)
treedb42d04434c8c273f74ef28d4e8cdca22ca9b921 /build
parentc60627e8af240189a16d7118230bf6df6d300f21 (diff)
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.
Diffstat (limited to 'build')
-rw-r--r--build/Makefile.win32.common15
-rw-r--r--build/Makefile.win32.inform13
2 files changed, 14 insertions, 14 deletions
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