Makefile
资源名称:timer_scr.rar [点击查看]
上传用户:karlzgj
上传日期:2020-03-01
资源大小:68k
文件大小:3k
源码类别:
TAPI编程
开发平台:
QT
- #############################################################################
- # Makefile for building timer
- # Generated by tmake at 23:52, 2010/01/27
- # Project: timer
- # Template: app
- #############################################################################
- ####### Compiler, tools and options
- CC = arm-linux-gnueabi-gcc
- CXX = arm-linux-gnueabi-g++
- CFLAGS = -pipe -Wall -W -O3 -DNO_DEBUG
- CXXFLAGS= -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O3 -DNO_DEBUG
- INCPATH = -I$(QTDIR)/include
- LINK = arm-linux-gnueabi-gcc
- LFLAGS =
- LIBS = $(SUBLIBS) -L$(QTDIR)/lib -lm -lqte-mt -lezxappbase
- MOC = $(QTDIR)/bin/moc
- UIC = $(QTDIR)/bin/uic
- TAR = tar -cf
- GZIP = gzip -9f
- ####### Files
- HEADERS = ZNewCheckBox.h
- myapplication.h
- timer.h
- SOURCES = ZNewCheckBox.cpp
- main.cpp
- myapplication.cpp
- timer.cpp
- OBJECTS = ZNewCheckBox.o
- main.o
- myapplication.o
- timer.o
- INTERFACES =
- UICDECLS =
- UICIMPLS =
- SRCMOC = moc_ZNewCheckBox.cpp
- moc_myapplication.cpp
- moc_timer.cpp
- OBJMOC = moc_ZNewCheckBox.o
- moc_myapplication.o
- moc_timer.o
- DIST =
- TARGET = timer
- 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: timer.pro
- tmake timer.pro -o Makefile
- dist:
- $(TAR) timer.tar timer.pro $(SOURCES) $(HEADERS) $(INTERFACES) $(DIST)
- $(GZIP) timer.tar
- clean:
- -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) $(TARGET)
- -rm -f *~ core
- ####### Sub-libraries
- ###### Combined headers
- ####### Compile
- ZNewCheckBox.o: ZNewCheckBox.cpp
- ZNewCheckBox.h
- main.o: main.cpp
- timer.h
- ZNewCheckBox.h
- myapplication.h
- myapplication.o: myapplication.cpp
- myapplication.h
- timer.o: timer.cpp
- timer.h
- ZNewCheckBox.h
- moc_ZNewCheckBox.o: moc_ZNewCheckBox.cpp
- ZNewCheckBox.h
- moc_myapplication.o: moc_myapplication.cpp
- myapplication.h
- moc_timer.o: moc_timer.cpp
- timer.h
- ZNewCheckBox.h
- moc_ZNewCheckBox.cpp: ZNewCheckBox.h
- $(MOC) ZNewCheckBox.h -o moc_ZNewCheckBox.cpp
- moc_myapplication.cpp: myapplication.h
- $(MOC) myapplication.h -o moc_myapplication.cpp
- moc_timer.cpp: timer.h
- $(MOC) timer.h -o moc_timer.cpp