## Generated Makefile for Win32 / Microsoft Visual C++

    #############################################################################
    # Makefile for building hello.exe
    # Generated by tmake at 00:20, 2003/09/16
    #     Project: hello.pro
    #    Template: app
    #############################################################################

    ####### Compiler, tools and options

    CC	=	cl
    CXX	=	cl
    CFLAGS	=	-nologo -W3 -O1 -GX -DNO_DEBUG
    CXXFLAGS=	-nologo -W3 -O1 -GX -DNO_DEBUG
    INCPATH	=	-I$(QTDIR)\include
    LINK	=	link
    LFLAGS	=	/NOLOGO /incremental:no /nodefaultlib:"libcmt" /SUBSYSTEM:windows
    LIBS	=	 $(QTDIR)\lib\qt.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib imm32.lib winmm.lib wsock32.lib comctl32.lib
    MOC	=	$(QTDIR)\bin\moc.exe
    UIC	=	$(QTDIR)\bin\uic.exe
    REMOVE	=	-del
    RMDIR	=	-rmdir /q /s
    ZIP	=	zip -r -9

    ####### Files

    HEADERS =	hello.h
    SOURCES =	hello.cpp \
    		main.cpp
    OBJECTS =	hello.obj \
    		main.obj
    INTERFACES =
    UICDECLS =
    UICIMPLS =
    SRCMOC	=	moc_hello.cpp
    OBJMOC	=	moc_hello.obj
    DIST	=
    TARGET	=	hello.exe
    INTERFACE_DECL_PATH = .

    ####### Implicit rules

    .SUFFIXES: .cpp .cxx .cc .C .c

    .cpp.obj:
    	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<

    .cxx.obj:
    	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<

    .cc.obj:
    	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<

    .C.obj:
    	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<

    .c.obj:
    	$(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $<

    ####### Build rules

    all: $(TARGET)

    $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
    	$(REMOVE) $(TARGET)
    	$(LINK) $(LFLAGS) /OUT:$(TARGET) @<<
    	    $(OBJECTS) $(OBJMOC) $(LIBS)
    <<

    moc: $(SRCMOC)

    tmake:
    	tmake hello.pro

    dist:
    	$(REMOVE) Makefile *.dsp *.dsw *.opt *.ncb *.mak

    clean:
    	$(REMOVE) $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) $(TARGET)
    	$(REMOVE) hello.opt

    	$(RMDIR) Debug Release

    ####### Compile

    hello.obj: hello.cpp \
    		hello.h

    main.obj: main.cpp \
    		hello.h

    moc_hello.obj: moc_hello.cpp \
    		hello.h

    moc_hello.cpp: hello.h
    	$(MOC) hello.h -o moc_hello.cpp