diff options
author | Vladimir Vukicevic <vladimir@pobox.com> | 2007-08-27 15:29:24 -0700 |
---|---|---|
committer | Vladimir Vukicevic <vladimir@pobox.com> | 2007-08-28 10:54:18 -0700 |
commit | 19fa097f515e72c195d10ddd64920ec71fa903ec (patch) | |
tree | fc9819dca2aaaa2a23702782b02c78717e9eda7b /test/Makefile.win32 | |
parent | f4a8633fce5262c09b323eef212fd6efe57d8f10 (diff) |
[win32] Update win32 Makefiles
Happy building with msys, one location for CFLAGS/etc changes (toplevel),
new pdiff makefile.
Diffstat (limited to 'test/Makefile.win32')
-rw-r--r-- | test/Makefile.win32 | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/test/Makefile.win32 b/test/Makefile.win32 index 9797b758..27d82286 100644 --- a/test/Makefile.win32 +++ b/test/Makefile.win32 @@ -1,6 +1,11 @@ -CC = cl -CFLAGS = /nologo /Zi /O2 /MD /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /I../src /I../pixman/src /I../boilerplate -LDFLAGS = ../src/cairo.lib ../pixman/src/pixman.lib ../boilerplate/boiler.lib libpng.lib zlib.lib gdi32.lib msimg32.lib user32.lib + +SUBMAKEFILE = 1 + +include ../Makefile.win32 + +CFLAGS += -I../src -I../boilerplate -I./pdiff + +LDFLAGS += ./pdiff/pdiff.lib ../src/cairo.lib $(PIXMAN_LIBS) ../boilerplate/boiler.lib $(EXE_LDFLAGS) TESTS = \ a8-mask \ @@ -98,8 +103,11 @@ TEST_EXE = $(addsuffix .exe,$(TESTS)) all: $(TEST_EXE) -%.exe: %.c - @$(CC) $(CFLAGS) /Fe"$@" $< $(TESTCORE_SOURCES) /link $(LDFLAGS) +%.exe: %.c ./pdiff/pdiff.lib + @$(CC) $(CFLAGS) -Fe"$@" $< $(TESTCORE_SOURCES) -link $(LDFLAGS) + +./pdiff/pdiff.lib: + (cd pdiff ; $(MAKE) -f Makefile.win32) test: $(TEST_EXE) @for exe in $(TEST_EXE) ; do \ |