📄 makefile
字号:
############################################################################### Copyright (c) 2000 Intel Corporation ## All rights reserved. #### Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are met: #### * Redistributions of source code must retain the above copyright notice, ## this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above copyright notice, ## this list of conditions and the following disclaimer in the documentation ## and/or other materials provided with the distribution. ## * Neither name of Intel Corporation nor the names of its contributors ## may be used to endorse or promote products derived from this software ## without specific prior written permission.## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL OR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, ## EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, ## PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR ## PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY ## OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING## NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS ## SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.#############################################################################OBJ = testc.o domCif.o Node.o NodeAct.o Parser.o NodeList.o Element.o Attr.o Document.o NamedNodeMap.o DOMException.oCC = gccCCPP = gccPLATFORM = LINUXCOMPILER = g++CXXFLAGS = -w -OCFLAGS += -Wall -D_REENTRANT PREFIX = /usr/localLIBS = INCLUDE = -I ../../inc/upnpdom -I ../inclib_dir=../liball: $(lib_dir)/upnpdom.oifeq ($(DEBUG),1)CFLAGS += -g -O -DDEBUGelse CFLAGS += -O2 -DNO_DEBUGendififeq ($(CLIENT),1)CFLAGS += -DINCLUDE_CLIENT_APISendififeq ($(DEVICE),1)CFLAGS += -DINCLUDE_DEVICE_APISendif$(lib_dir)/upnpdom.o: domCif.o Node.o NodeAct.o Parser.o NodeList.o Element.o Attr.o Document.o NamedNodeMap.o DOMException.o $(LD) -r domCif.o Node.o NodeAct.o Parser.o NodeList.o Element.o Attr.o Document.o NamedNodeMap.o DOMException.o -o $(lib_dir)/upnpdom.otest: testc.o domCif.o Node.o NodeAct.o Parser.o NodeList.o Element.o Attr.o Document.o NamedNodeMap.o DOMException.o $(CCPP) $(CFLAGS) $(LIBS) -o test testc.o /downloads/upnp/bin/libiupnp.sotestc.o: testc.c $(CCPP) $(CFLAGS) -c $(INCLUDE) testc.cdomCif.o: domCif.c $(CCPP) $(CFLAGS) -c $(INCLUDE) domCif.cNode.o: Node.c $(CCPP) $(CFLAGS) -c $(INCLUDE) Node.cNodeAct.o: NodeAct.c $(CCPP) $(CFLAGS) -c $(INCLUDE) NodeAct.cParser.o: Parser.c $(CCPP) $(CFLAGS) -c $(INCLUDE) Parser.cNodeList.o: NodeList.c $(CCPP) $(CFLAGS) -c $(INCLUDE) NodeList.cElement.o: Element.c $(CCPP) $(CFLAGS) -c $(INCLUDE) Element.cAttr.o: Attr.c $(CCPP) $(CFLAGS) -c $(INCLUDE) Attr.cDocument.o: Document.c $(CCPP) $(CFLAGS) -c $(INCLUDE) Document.cDOMException.o: DOMException.c $(CCPP) $(CFLAGS) -c $(INCLUDE) DOMException.cNamedNodeMap.o: NamedNodeMap.c $(CCPP) $(CFLAGS) -c $(INCLUDE) NamedNodeMap.cclean: @rm *.o -f @rm $(lib_dir)/upnpdom.o -f
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -