LIB_XML2 = C:\Projects\lib\libxml2-2.6.15.win32 LIB_ICONV = C:\Projects\lib\iconv-1.9.1.win32 LIB_ZLIB = C:\Projects\lib\zlib-1.2.1.win32 LIBS = $(LIB_XML2)\lib\libxml2.lib \ $(LIB_ICONV)\lib\iconv.lib \ $(LIB_ZLIB)\lib\zdll.lib CC = cl CFLAGS = /I$(LIB_XML2)\include\ \ /I$(LIB_ICONV)\include default: wmsparse dbf.obj: dbfopen.c shapefil.h $(CC) -c dbfopen.c wmsparse: wmsparse.c dbfopen.obj $(CC) /Dstrcasecmp=stricmp wmsparse.c $(CFLAGS) $(LIBS) dbfopen.obj -o win32\wmsparse.exe clean: del win32\wmsparse.exe *.pdb *.obj *.ilk *.idb