mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-22 12:40:09 +01:00
[win32] Makefile.win32: fix test and add html targets
Add html target to toplevel and test/ Makefile.win32
This commit is contained in:
parent
5ab72579ef
commit
d78fd375d3
2 changed files with 22 additions and 1 deletions
|
|
@ -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
|
SUBDIRS = pixman/src src
|
||||||
|
|
||||||
|
|
@ -16,3 +24,6 @@ test: cairo
|
||||||
echo making all in $$f... ; \
|
echo making all in $$f... ; \
|
||||||
(cd $$f ; make -f Makefile.win32) || exit 1 ; \
|
(cd $$f ; make -f Makefile.win32) || exit 1 ; \
|
||||||
done ;
|
done ;
|
||||||
|
|
||||||
|
html:
|
||||||
|
@(cd test ; make -f Makefile.win32 html)
|
||||||
|
|
|
||||||
|
|
@ -100,3 +100,13 @@ all: $(TEST_EXE)
|
||||||
|
|
||||||
%.exe: %.c
|
%.exe: %.c
|
||||||
@$(CC) $(CFLAGS) /Fe"$@" $< $(TESTCORE_SOURCES) $(LDFLAGS) $(BOILER_LIB)
|
@$(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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue