mingw32-make %%
CC = gccCXX = g++LEX = flexYACC = byaccCFLAGS = -mthreads -Wall -O2 -fno-exceptions -fno-rtti -DUNICODE -DQT_DLL -DQT_THREAD_SUPPORT -DQT_NO_DEBUGCXXFLAGS = -mthreads -Wall -O2 -fno-exceptions -fno-rtti -DUNICODE -DQT_DLL -DQT_THREAD_SUPPORT -DQT_NO_DEBUGLEXFLAGS =YACCFLAGS =-dINCPATH = -I"." -I"$(QTDIR)\include" -I"." -I"C:\Qt\3.3.4\mkspecs\win32-g++"LINK = g++LFLAGS = -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl,-s -Wl,-subsystem,windows -e __Z19QtWinMainCRTStartupvLIBS = -L"$(QTDIR)\lib" -lqtmain -lqt-mt -lkernel32 -luser32 -lgdi32 -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -limm32 -lwinmm -lwsock32 -lwinspoolMOC = $(QTDIR)\bin\moc.exeUIC = $(QTDIR)\bin\uic.exeQMAKE = qmakeIDC = $(QTDIR)\bin\idc.exeIDL = midlZIP = zip -r -9DEF_FILE = COPY_FILE = copyCOPY_DIR = copyDEL_FILE = delDEL_DIR = rmdirMOVE = moveCHK_DIR_EXISTS = if not existMKDIR = mkdirINSTALL_FILE= $(COPY_FILE)INSTALL_DIR = $(COPY_DIR)####### Output directoryOBJECTS_DIR = . MOC_DIR = . ####### FilesHEADERS = add.ui.h \ ras.ui.hSOURCES = main.cppOBJECTS = main.o \ add.oFORMS = add.uiUICDECLS = add.hUICIMPLS = add.cppSRCMOC = moc_add.cppOBJMOC = moc_add.oDIST = TARGET = win_nano.exe####### 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: $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<####### Build rulesall: $(OBJECTS_DIR) $(MOC_DIR) $(TARGET)$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)mocables: $(SRCMOC)$(OBJECTS_DIR): @if not exist $(OBJECTS_DIR) $(MKDIR) $(OBJECTS_DIR)$(MOC_DIR): @if not exist $(MOC_DIR) $(MKDIR) $(MOC_DIR)Makefile: win_nano.pro C:\Qt\3.3.4\mkspecs\win32-g++\qmake.conf $(QMAKE) -o Makefile win_nano.proqmake: @$(QMAKE) -o Makefile win_nano.prodist: $(ZIP) .zip .pro $(SOURCES) $(HEADERS) $(DIST) $(FORMS)clean: -$(DEL_FILE) main.o -$(DEL_FILE) add.o -$(DEL_FILE) moc_add.cpp -$(DEL_FILE) moc_add.o -$(DEL_FILE) add.h -$(DEL_FILE) add.cpp -$(DEL_FILE) $(TARGET)####### Compilemain.o: main.cpp add.h: add.ui $(UIC) add.ui -o add.hadd.cpp: add.h add.ui add.ui.h $(UIC) add.ui -i add.h -o add.cppadd.o: add.cpp add.ui.h \ add.hmoc_add.o: moc_add.cpp add.h moc_add.cpp: $(MOC) add.h $(MOC) add.h -o moc_add.cpp####### Installinstall: uninstall: