#############################################################################
# Makefile for building: sym
# Generated by qmake (1.07a) (Qt 3.3.8b) on: Mon Apr 18 11:13:01 2011
# Project: sym.pro
# Template: app
# Command: $(QMAKE) -o Makefile sym.pro
#############################################################################
####### Compiler, tools and options
CC = gcc
CXX = g++
LEX = flex
YACC = yacc
CFLAGS = -pipe -g -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT
CXXFLAGS = -pipe -g -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT
LEXFLAGS =
YACCFLAGS= -d
INCPATH = -I/usr/share/qt3/mkspecs/default -I. -I. -I/usr/include/qt3
LINK = g++
LFLAGS =
LIBS = $(SUBLIBS) -L/usr/share/qt3/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm -lpthread
AR = ar cqs
RANLIB =
MOC = /usr/share/qt3/bin/moc
UIC = /usr/share/qt3/bin/uic
QMAKE = qmake
TAR = tar -cf
GZIP = gzip -9f
COPY = cp -f
COPY_FILE= $(COPY)
COPY_DIR = $(COPY) -r
INSTALL_FILE= $(COPY_FILE)
INSTALL_DIR = $(COPY_DIR)
DEL_FILE = rm -f
SYMLINK = ln -sf
DEL_DIR = rmdir
MOVE = mv -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
####### Output directory
OBJECTS_DIR = ./
####### Files
HEADERS =
SOURCES = main.cpp
OBJECTS = main.o \
myqtapp.o
FORMS = myqtapp.ui
UICDECLS = myqtapp.h
UICIMPLS = myqtapp.cpp
SRCMOC = moc_myqtapp.cpp
OBJMOC = moc_myqtapp.o
DIST = sym.pro
QMAKE_TARGET = sym
DESTDIR =
TARGET = sym
first: all
####### Implicit rules
.SUFFIXES: .c .o .cpp .cc .cxx .C
.cpp.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.cc.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.cxx.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.C.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.c.o:
$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
####### Build rules
all: Makefile $(TARGET)
$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(OBJCOMP) $(LIBS)
mocables: $(SRCMOC)
uicables: $(UICDECLS) $(UICIMPLS)
$(MOC):
( cd $(QTDIR)/src/moc && $(MAKE) )
Makefile: sym.pro /usr/share/qt3/mkspecs/default/qmake.conf /usr/share/qt3/lib/libqt-mt.prl
$(QMAKE) -o Makefile sym.pro
qmake:
@$(QMAKE) -o Makefile sym.pro
dist:
@mkdir -p .tmp/sym && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .tmp/sym/ && ( cd `dirname .tmp/sym` && $(TAR) sym.tar sym && $(GZIP) sym.tar ) && $(MOVE) `dirname .tmp/sym`/sym.tar.gz . && $(DEL_FILE) -r .tmp/sym
mocclean:
-$(DEL_FILE) $(OBJMOC)
-$(DEL_FILE) $(SRCMOC)
uiclean:
-$(DEL_FILE) $(UICIMPLS) $(UICDECLS)
yaccclean:
lexclean:
clean: mocclean uiclean
-$(DEL_FILE) $(OBJECTS)
-$(DEL_FILE) *~ core *.core
####### Sub-libraries
distclean: clean
-$(DEL_FILE) $(TARGET) $(TARGET)
FORCE:
####### Compile
main.o: main.cpp myqtapp.h
myqtapp.h: myqtapp.ui
$(UIC) myqtapp.ui -o myqtapp.h
myqtapp.cpp: myqtapp.h myqtapp.ui
$(UIC) myqtapp.ui -i myqtapp.h -o myqtapp.cpp
myqtapp.o: myqtapp.cpp myqtapp.h
moc_myqtapp.o: moc_myqtapp.cpp myqtapp.h
moc_myqtapp.cpp: $(MOC) myqtapp.h
$(MOC) myqtapp.h -o moc_myqtapp.cpp
####### Install
install:
uninstall:
Bookmarks