Generated Makefile for Linux / GNU gcc
#############################################################################
# Makefile for building hello
# Generated by tmake at 19:18, 1997/08/15
# Project: hello.pro
# Template: /home/hanord/tmake/lib/linux-gcc/app.t
#############################################################################
####### Compiler, tools and options
CC = gcc
CFLAGS = -Wall -W -O2 -fno-strength-reduce
INCPATH = -I$(QTDIR)/include
LINK = gcc
LFLAGS =
LIBS = -L$(QTDIR)/lib -lqt -L/usr/X11R6/lib -lX11
MOC = moc
####### Files
HEADERS = hello.h
SOURCES = hello.cpp \
main.cpp
OBJECTS = hello.o \
main.o
SRCMOC = moc_hello.cpp
OBJMOC = moc_hello.o
TARGET = hello
####### Implicit rules
.SUFFIXES: .cpp .cxx .cc .C .c
.cpp.o:
$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
.cxx.o:
$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
.cc.o:
$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
.C.o:
$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
.c.o:
$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
####### Build rules
all: $(TARGET)
$(TARGET): $(OBJECTS) $(OBJMOC)
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
tmake: makefile
makefile: hello.pro
tmake hello.pro -o makefile
moc: $(SRCMOC)
clean:
-rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(TARGET)
-rm -f *~ core
####### Compile
hello.o: hello.cpp \
hello.h \
/local/qt/include/qwidget.h \
/local/qt/include/qwindefs.h \
/local/qt/include/qobjdefs.h \
/local/qt/include/qglobal.h \
/local/qt/include/qobject.h \
/local/qt/include/qstring.h \
/local/qt/include/qarray.h \
/local/qt/include/qgarray.h \
/local/qt/include/qshared.h \
/local/qt/include/qgeneric.h \
/local/qt/include/qevent.h \
/local/qt/include/qrect.h \
/local/qt/include/qsize.h \
/local/qt/include/qpoint.h \
/local/qt/include/qpaintd.h \
/local/qt/include/qpalette.h \
/local/qt/include/qcolor.h \
/local/qt/include/qcursor.h \
/local/qt/include/qfont.h \
/local/qt/include/qfontmet.h \
/local/qt/include/qfontinf.h \
/local/qt/include/qpushbt.h \
/local/qt/include/qbutton.h \
/local/qt/include/qtimer.h \
/local/qt/include/qpainter.h \
/local/qt/include/qregion.h \
/local/qt/include/qpen.h \
/local/qt/include/qbrush.h \
/local/qt/include/qpntarry.h \
/local/qt/include/qwmatrix.h \
/local/qt/include/qpixmap.h
main.o: main.cpp \
hello.h \
/local/qt/include/qwidget.h \
/local/qt/include/qwindefs.h \
/local/qt/include/qobjdefs.h \
/local/qt/include/qglobal.h \
/local/qt/include/qobject.h \
/local/qt/include/qstring.h \
/local/qt/include/qarray.h \
/local/qt/include/qgarray.h \
/local/qt/include/qshared.h \
/local/qt/include/qgeneric.h \
/local/qt/include/qevent.h \
/local/qt/include/qrect.h \
/local/qt/include/qsize.h \
/local/qt/include/qpoint.h \
/local/qt/include/qpaintd.h \
/local/qt/include/qpalette.h \
/local/qt/include/qcolor.h \
/local/qt/include/qcursor.h \
/local/qt/include/qfont.h \
/local/qt/include/qfontmet.h \
/local/qt/include/qfontinf.h \
/local/qt/include/qapp.h
moc_hello.o: moc_hello.cpp \
hello.h \
/local/qt/include/qwidget.h \
/local/qt/include/qwindefs.h \
/local/qt/include/qobjdefs.h \
/local/qt/include/qglobal.h \
/local/qt/include/qobject.h \
/local/qt/include/qstring.h \
/local/qt/include/qarray.h \
/local/qt/include/qgarray.h \
/local/qt/include/qshared.h \
/local/qt/include/qgeneric.h \
/local/qt/include/qevent.h \
/local/qt/include/qrect.h \
/local/qt/include/qsize.h \
/local/qt/include/qpoint.h \
/local/qt/include/qpaintd.h \
/local/qt/include/qpalette.h \
/local/qt/include/qcolor.h \
/local/qt/include/qcursor.h \
/local/qt/include/qfont.h \
/local/qt/include/qfontmet.h \
/local/qt/include/qfontinf.h
moc_hello.cpp: hello.h
$(MOC) hello.h -o moc_hello.cpp