diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2016-11-17 21:10:17 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2016-11-17 21:10:17 (GMT) |
commit | 8096d34300076a1aa9cb517de49fb920a051939f (patch) | |
tree | 5f2b1b7c41f89fedc31af973d6a747ca674cfd24 /libxml2/Makefile.win | |
parent | fc7f7edd0b8011cb71573b15462ef83068d9e54b (diff) | |
parent | 574585fa78070b0cc6b5ad22543e21a3502a122b (diff) | |
download | blt-8096d34300076a1aa9cb517de49fb920a051939f.zip blt-8096d34300076a1aa9cb517de49fb920a051939f.tar.gz blt-8096d34300076a1aa9cb517de49fb920a051939f.tar.bz2 |
Merge commit '574585fa78070b0cc6b5ad22543e21a3502a122b' as 'libxml2'
Diffstat (limited to 'libxml2/Makefile.win')
-rw-r--r-- | libxml2/Makefile.win | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/libxml2/Makefile.win b/libxml2/Makefile.win new file mode 100644 index 0000000..0d36057 --- /dev/null +++ b/libxml2/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 |