That's the created Makefile (using your last answer):
#############################################################################
# Makefile for building: some-1
# Generated by qmake (2.01a) (Qt 4.7.0) on: Sat Oct 30 23:31:32 2010
# Project: some-1.0.pro
# Template: app
# Command: /usr/bin/qmake -o Makefile some-1.0.pro
#############################################################################
####### Compiler, tools and options
CC = gcc
CXX = g++
DEFINES = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I.
LINK = g++
LFLAGS = -Wl,-O1
LIBS = $(SUBLIBS) -L/usr/lib -lQtGui -lQtCore -lpthread
AR = ar cqs
RANLIB =
QMAKE = /usr/bin/qmake
TAR = tar -cf
COMPRESS = gzip -9f
COPY = cp -f
SED = sed
COPY_FILE = $(COPY)
COPY_DIR = $(COPY) -r
STRIP = strip
INSTALL_FILE = install -m 644 -p
INSTALL_DIR = $(COPY_DIR)
INSTALL_PROGRAM = install -m 755 -p
DEL_FILE = rm -f
SYMLINK = ln -f -s
DEL_DIR = rmdir
MOVE = mv -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
FILESTOCOPY = from/*
INSTRULE.path = to/
INSTRULE.files = $$FILESTOCOPY
INSTALLS += INSTRULE
...
...
...
install: $(INSTALLS)
uninstall: FORCE
FORCE:
#############################################################################
# Makefile for building: some-1
# Generated by qmake (2.01a) (Qt 4.7.0) on: Sat Oct 30 23:31:32 2010
# Project: some-1.0.pro
# Template: app
# Command: /usr/bin/qmake -o Makefile some-1.0.pro
#############################################################################
####### Compiler, tools and options
CC = gcc
CXX = g++
DEFINES = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I.
LINK = g++
LFLAGS = -Wl,-O1
LIBS = $(SUBLIBS) -L/usr/lib -lQtGui -lQtCore -lpthread
AR = ar cqs
RANLIB =
QMAKE = /usr/bin/qmake
TAR = tar -cf
COMPRESS = gzip -9f
COPY = cp -f
SED = sed
COPY_FILE = $(COPY)
COPY_DIR = $(COPY) -r
STRIP = strip
INSTALL_FILE = install -m 644 -p
INSTALL_DIR = $(COPY_DIR)
INSTALL_PROGRAM = install -m 755 -p
DEL_FILE = rm -f
SYMLINK = ln -f -s
DEL_DIR = rmdir
MOVE = mv -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
FILESTOCOPY = from/*
INSTRULE.path = to/
INSTRULE.files = $$FILESTOCOPY
INSTALLS += INSTRULE
...
...
...
install: $(INSTALLS)
uninstall: FORCE
FORCE:
To copy to clipboard, switch view to plain text mode
output of make install:
make: *** No rule to make target `INSTRULE', needed by `install'. Stop.
make: *** No rule to make target `INSTRULE', needed by `install'. Stop.
To copy to clipboard, switch view to plain text mode
Bookmarks