diff options
author | Vladimir Vukicevic <vladimir@pobox.com> | 2006-09-09 22:18:47 -0700 |
---|---|---|
committer | U-CYCLONE\Vladimir Vukicevic <vladimir@cyclone.(none)> | 2006-09-09 22:18:47 -0700 |
commit | d78fd375d3f99a5bb4a4799ce5d90a2a946a854c (patch) | |
tree | 1a6ee8cd87d107cb930d29ff1d931f659fb6c763 | |
parent | 5ab72579ef2a9fce1aedf3068825ccba683b6e79 (diff) |
[win32] Makefile.win32: fix test and add html targets
Add html target to toplevel and test/ Makefile.win32
-rw-r--r-- | Makefile.win32 | 13 | ||||
-rw-r--r-- | test/Makefile.win32 | 10 |
2 files changed, 22 insertions, 1 deletions
diff --git a/Makefile.win32 b/Makefile.win32 index 79a1dadd..048275dc 100644 --- a/Makefile.win32 +++ b/Makefile.win32 @@ -1,3 +1,11 @@ +# +# Win32 makefile +# + +CAIRO_VERSION = 1.2.5 +CAIRO_VERSION_MAJOR = 1 +CAIRO_VERSION_MINOR = 2 +CAIRO_VERSION_MICRO = 5 SUBDIRS = pixman/src src @@ -12,7 +20,10 @@ cairo: src/cairo-features.h done test: cairo - @list='$(TEST_SUBDIRS)'; for f in $$list ; do \ + @list='$(TEST_SUBDIRS)'; for f in $$list ; do \ echo making all in $$f... ; \ (cd $$f ; make -f Makefile.win32) || exit 1 ; \ done ; + +html: + @(cd test ; make -f Makefile.win32 html) diff --git a/test/Makefile.win32 b/test/Makefile.win32 index 0f56bbd4..9ffa3ba4 100644 --- a/test/Makefile.win32 +++ b/test/Makefile.win32 @@ -100,3 +100,13 @@ all: $(TEST_EXE) %.exe: %.c @$(CC) $(CFLAGS) /Fe"$@" $< $(TESTCORE_SOURCES) $(LDFLAGS) $(BOILER_LIB) + +test: $(TEST_EXE) + @for exe in $(TEST_EXE) ; do \ + echo $$exe ; \ + ( ./$$exe || exit 0 ) ; \ + done + +html: + @echo Creating index.html... + @perl make-html.pl > index.html |