aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.win
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>1998-08-13 03:39:55 +0000
committerDaniel Veillard <veillard@src.gnome.org>1998-08-13 03:39:55 +0000
commit260a68fd34302f352aa8f4c2f2901cefa3e1d2f7 (patch)
tree4b8121b97a44fdb0e5c7713150af11074a69a1e2 /Makefile.win
parenta65771c1cad93b33a936be986be043420adc9648 (diff)
downloadandroid_external_libxml2-260a68fd34302f352aa8f4c2f2901cefa3e1d2f7.tar.gz
android_external_libxml2-260a68fd34302f352aa8f4c2f2901cefa3e1d2f7.tar.bz2
android_external_libxml2-260a68fd34302f352aa8f4c2f2901cefa3e1d2f7.zip
Release 0.2, 80% rewrite, nothing left intact ... Daniel
Diffstat (limited to 'Makefile.win')
-rw-r--r--Makefile.win34
1 files changed, 34 insertions, 0 deletions
diff --git a/Makefile.win b/Makefile.win
new file mode 100644
index 00000000..0d36057d
--- /dev/null
+++ b/Makefile.win
@@ -0,0 +1,34 @@
+# This is a makefile for win32 systems (VC 5.0).
+# Christopher Blizzard
+# http://odin.appliedtheory.com/
+
+CC = cl
+CFLAGS = /c /GB /Gi /nologo /I. /DWIN32 /MT /Zi
+
+LD = link
+LDFLAGS = /DEBUG /NODEFAULTLIB:libc
+
+AR = lib
+
+all: xml.lib
+
+test: tester.exe
+
+SHARED_OBJS = entities.obj parser.obj tree.obj SAX.obj
+
+xml.lib: $(SHARED_OBJS)
+ $(AR) /out:xml.lib $(SHARED_OBJS)
+
+tester.obj: $(SHARED_OBJS)
+ $(CC) $(CFLAGS) tester.c /out:tester.obj
+
+tester.exe: tester.obj xml.lib
+ $(LD) $(LDFLAGS) /out:tester.exe tester.obj xml.lib
+
+clean:
+ -del /f $(SHARED_OBJS) tester.obj
+ -del /f tester.exe
+ -del /f xml.lib
+ -del /f *.pdb
+ -del /f *.idb
+ -del /f *.ilk