xpath.mak
最終更新:2009/11/20
001: # 002: # nmake 用 Makefile 003: # libxml2 のサンプルコーディング 004: # 005: # ●実行例 006: # nmake -f xpath.mak 007: # 008: # ●必要なDLL 009: # libxml2.dll 010: 011: MT=mt 012: CP=copy 013: RM=del 014: 015: LIBXML2_DIR=d:\libxml2 016: 017: INC_DIR=$(LIBXML2_DIR)\include 018: 019: LIB_XML2=$(LIBXML2_DIR)\lib\libxml2.lib 020: 021: LIBS=$(LIBS) $(LIB_XML2) 022: 023: CFLAG=/nologo /W3 /DWIN32 $(CFLAG) /I . /I $(INC_DIR) 024: 025: LINKFLAG=/nologo 026: 027: default: buildall 028: 029: buildall: xpath1.exe 030: 031: clean: 032: $(RM) *.obj *.exe *.manifest *.bak 033: 034: .c.obj: 035: $(CC) /c /Fo$@ $< $(CFLAG) 036: 037: xpath1.exe: xpath1.obj 038: $(CC) /Fe$@ xpath1.obj $(LINKFLAG) /link $(LIBS) 039: IF EXIST $@.manifest $(MT) -manifest $@.manifest -outputresource:$@ 040:
KAKU PROJECT (2009) |