Makefile
资源名称:Webserver.rar [点击查看]
上传用户:yayahi0755
上传日期:2022-05-14
资源大小:876k
文件大小:2k
源码类别:
浏览器
开发平台:
Unix_Linux
- #############################################################################
- # Makefile for building client
- # Generated by tmake at 15:50, 2006/07/05
- # Project: client
- # Template: app
- #############################################################################
- ####### Compiler, tools and options
- CC = arm-linux-gcc
- CXX = arm-linux-g++
- CFLAGS = -pipe -Wall -W -O2 -DNO_DEBUG
- CXXFLAGS= -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG
- INCPATH = -I/usr/include -I$(QTDIR)/include -I$(QPEDIR)/include
- LINK = arm-linux-gcc
- LFLAGS =
- LIBS = $(SUBLIBS) -L$(QPEDIR)/lib -L$(QTDIR)/lib -lm -lts -lqpe -lqtopia -lqte
- MOC = $(QTDIR)/bin/moc
- UIC = $(QTDIR)/bin/uic
- TAR = tar -cf
- GZIP = gzip -9f
- ####### Files
- HEADERS = clientform.h
- frmclient.h
- SOURCES = main.cpp
- clientform.cpp
- frmclient.cpp
- OBJECTS = main.o
- clientform.o
- frmclient.o
- INTERFACES =
- UICDECLS =
- UICIMPLS =
- SRCMOC = moc_clientform.cpp
- moc_frmclient.cpp
- OBJMOC = moc_clientform.o
- moc_frmclient.o
- DIST =
- TARGET = client
- INTERFACE_DECL_PATH = .
- ####### Implicit rules
- .SUFFIXES: .cpp .cxx .cc .C .c
- .cpp.o:
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
- .cxx.o:
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
- .cc.o:
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
- .C.o:
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
- .c.o:
- $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
- ####### Build rules
- all: $(TARGET)
- $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
- $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
- moc: $(SRCMOC)
- tmake: Makefile
- Makefile: client.pro
- tmake client.pro -o Makefile
- dist:
- $(TAR) client.tar client.pro $(SOURCES) $(HEADERS) $(INTERFACES) $(DIST)
- $(GZIP) client.tar
- clean:
- -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) $(TARGET)
- -rm -f *~ core
- ####### Sub-libraries
- ###### Combined headers
- ####### Compile
- main.o: main.cpp
- frmclient.h
- clientform.h
- clientform.o: clientform.cpp
- clientform.h
- frmclient.o: frmclient.cpp
- frmclient.h
- clientform.h
- moc_clientform.o: moc_clientform.cpp
- clientform.h
- moc_frmclient.o: moc_frmclient.cpp
- frmclient.h
- clientform.h
- moc_clientform.cpp: clientform.h
- $(MOC) clientform.h -o moc_clientform.cpp
- moc_frmclient.cpp: frmclient.h
- $(MOC) frmclient.h -o moc_frmclient.cpp