Makefiles weg
git-svn-id: http://svn.lsim.tuxzone.org/trunk@70 4bec179b-ab65-46ed-a5f8-55b8b5c735d0
This commit is contained in:
@@ -1,381 +0,0 @@
|
||||
#############################################################################
|
||||
# Makefile for building: ../bin/lsim
|
||||
# Generated by qmake (2.01a) (Qt 4.4.3) on: So Nov 23 15:07:11 2008
|
||||
# Project: src.pro
|
||||
# Template: app
|
||||
#############################################################################
|
||||
|
||||
####### Compiler, tools and options
|
||||
|
||||
CC = gcc
|
||||
CXX = g++
|
||||
DEFINES = -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
|
||||
CFLAGS = -pipe -g -D_REENTRANT -Wall -W $(DEFINES)
|
||||
CXXFLAGS = -pipe -g -D_REENTRANT -Wall -W $(DEFINES)
|
||||
INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Idebug -I.
|
||||
LINK = g++
|
||||
LFLAGS =
|
||||
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
|
||||
INSTALL_FILE = install -m 644 -p
|
||||
INSTALL_DIR = $(COPY_DIR)
|
||||
INSTALL_PROGRAM = install -m 755 -p
|
||||
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 = debug/
|
||||
|
||||
####### Files
|
||||
|
||||
SOURCES = lsim.cpp \
|
||||
main.cpp \
|
||||
graphicsview.cpp \
|
||||
graphicsellipseitem.cpp \
|
||||
fielditem.cpp \
|
||||
homoefielditem.cpp \
|
||||
simulscene.cpp \
|
||||
expdoublespinbox.cpp \
|
||||
homoefieldwidget.cpp \
|
||||
probechargewidget.cpp \
|
||||
homobfielditem.cpp \
|
||||
homobfieldwidget.cpp \
|
||||
stopperitem.cpp \
|
||||
stopperwidget.cpp debug/moc_lsim.cpp \
|
||||
debug/moc_graphicsview.cpp \
|
||||
debug/moc_graphicsellipseitem.cpp \
|
||||
debug/moc_fielditem.cpp \
|
||||
debug/moc_homoefielditem.cpp \
|
||||
debug/moc_simulscene.cpp \
|
||||
debug/moc_homoefieldwidget.cpp \
|
||||
debug/moc_probechargewidget.cpp \
|
||||
debug/moc_homobfielditem.cpp \
|
||||
debug/moc_homobfieldwidget.cpp \
|
||||
debug/moc_stopperitem.cpp \
|
||||
debug/moc_stopperwidget.cpp \
|
||||
debug/qrc_application.cpp
|
||||
OBJECTS = debug/lsim.o \
|
||||
debug/main.o \
|
||||
debug/graphicsview.o \
|
||||
debug/graphicsellipseitem.o \
|
||||
debug/fielditem.o \
|
||||
debug/homoefielditem.o \
|
||||
debug/simulscene.o \
|
||||
debug/expdoublespinbox.o \
|
||||
debug/homoefieldwidget.o \
|
||||
debug/probechargewidget.o \
|
||||
debug/homobfielditem.o \
|
||||
debug/homobfieldwidget.o \
|
||||
debug/stopperitem.o \
|
||||
debug/stopperwidget.o \
|
||||
debug/moc_lsim.o \
|
||||
debug/moc_graphicsview.o \
|
||||
debug/moc_graphicsellipseitem.o \
|
||||
debug/moc_fielditem.o \
|
||||
debug/moc_homoefielditem.o \
|
||||
debug/moc_simulscene.o \
|
||||
debug/moc_homoefieldwidget.o \
|
||||
debug/moc_probechargewidget.o \
|
||||
debug/moc_homobfielditem.o \
|
||||
debug/moc_homobfieldwidget.o \
|
||||
debug/moc_stopperitem.o \
|
||||
debug/moc_stopperwidget.o \
|
||||
debug/qrc_application.o
|
||||
DIST = /usr/share/qt4/mkspecs/common/g++.conf \
|
||||
/usr/share/qt4/mkspecs/common/unix.conf \
|
||||
/usr/share/qt4/mkspecs/common/linux.conf \
|
||||
/usr/share/qt4/mkspecs/qconfig.pri \
|
||||
/usr/share/qt4/mkspecs/features/qt_functions.prf \
|
||||
/usr/share/qt4/mkspecs/features/qt_config.prf \
|
||||
/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
|
||||
/usr/share/qt4/mkspecs/features/default_pre.prf \
|
||||
/usr/share/qt4/mkspecs/features/debug.prf \
|
||||
/usr/share/qt4/mkspecs/features/debug_and_release.prf \
|
||||
/usr/share/qt4/mkspecs/features/default_post.prf \
|
||||
/usr/share/qt4/mkspecs/features/build_pass.prf \
|
||||
/usr/share/qt4/mkspecs/features/qt.prf \
|
||||
/usr/share/qt4/mkspecs/features/moc.prf \
|
||||
/usr/share/qt4/mkspecs/features/unix/thread.prf \
|
||||
/usr/share/qt4/mkspecs/features/warn_on.prf \
|
||||
/usr/share/qt4/mkspecs/features/resources.prf \
|
||||
/usr/share/qt4/mkspecs/features/uic.prf \
|
||||
/usr/share/qt4/mkspecs/features/yacc.prf \
|
||||
/usr/share/qt4/mkspecs/features/lex.prf \
|
||||
src.pro
|
||||
QMAKE_TARGET = lsim
|
||||
DESTDIR = ../bin/
|
||||
TARGET = ../bin/lsim
|
||||
|
||||
first: all
|
||||
####### Implicit rules
|
||||
|
||||
.SUFFIXES: .o .c .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.Debug $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJECTS)
|
||||
@$(CHK_DIR_EXISTS) ../bin/ || $(MKDIR) ../bin/
|
||||
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
|
||||
|
||||
qmake: FORCE
|
||||
@$(QMAKE) -unix -o Makefile.Debug src.pro
|
||||
|
||||
dist:
|
||||
@$(CHK_DIR_EXISTS) debug/lsim1.0.0 || $(MKDIR) debug/lsim1.0.0
|
||||
$(COPY_FILE) --parents $(SOURCES) $(DIST) debug/lsim1.0.0/ && $(COPY_FILE) --parents lsim.h graphicsview.h graphicsellipseitem.h fielditem.h homoefielditem.h simulscene.h expdoublespinbox.h homoefieldwidget.h constants.h probechargewidget.h homobfielditem.h homobfieldwidget.h stopperitem.h stopperwidget.h debug/lsim1.0.0/ && $(COPY_FILE) --parents application.qrc debug/lsim1.0.0/ && $(COPY_FILE) --parents lsim.cpp main.cpp graphicsview.cpp graphicsellipseitem.cpp fielditem.cpp homoefielditem.cpp simulscene.cpp expdoublespinbox.cpp homoefieldwidget.cpp probechargewidget.cpp homobfielditem.cpp homobfieldwidget.cpp stopperitem.cpp stopperwidget.cpp debug/lsim1.0.0/ && (cd `dirname debug/lsim1.0.0` && $(TAR) lsim1.0.0.tar lsim1.0.0 && $(COMPRESS) lsim1.0.0.tar) && $(MOVE) `dirname debug/lsim1.0.0`/lsim1.0.0.tar.gz . && $(DEL_FILE) -r debug/lsim1.0.0
|
||||
|
||||
|
||||
clean:compiler_clean
|
||||
-$(DEL_FILE) $(OBJECTS)
|
||||
-$(DEL_FILE) *~ core *.core
|
||||
|
||||
|
||||
####### Sub-libraries
|
||||
|
||||
distclean: clean
|
||||
-$(DEL_FILE) $(TARGET)
|
||||
-$(DEL_FILE) Makefile.Debug
|
||||
|
||||
|
||||
mocclean: compiler_moc_header_clean compiler_moc_source_clean
|
||||
|
||||
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
|
||||
|
||||
compiler_moc_header_make_all: debug/moc_lsim.cpp debug/moc_graphicsview.cpp debug/moc_graphicsellipseitem.cpp debug/moc_fielditem.cpp debug/moc_homoefielditem.cpp debug/moc_simulscene.cpp debug/moc_homoefieldwidget.cpp debug/moc_probechargewidget.cpp debug/moc_homobfielditem.cpp debug/moc_homobfieldwidget.cpp debug/moc_stopperitem.cpp debug/moc_stopperwidget.cpp
|
||||
compiler_moc_header_clean:
|
||||
-$(DEL_FILE) debug/moc_lsim.cpp debug/moc_graphicsview.cpp debug/moc_graphicsellipseitem.cpp debug/moc_fielditem.cpp debug/moc_homoefielditem.cpp debug/moc_simulscene.cpp debug/moc_homoefieldwidget.cpp debug/moc_probechargewidget.cpp debug/moc_homobfielditem.cpp debug/moc_homobfieldwidget.cpp debug/moc_stopperitem.cpp debug/moc_stopperwidget.cpp
|
||||
debug/moc_lsim.cpp: graphicsview.h \
|
||||
lsim.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) lsim.h -o debug/moc_lsim.cpp
|
||||
|
||||
debug/moc_graphicsview.cpp: graphicsview.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) graphicsview.h -o debug/moc_graphicsview.cpp
|
||||
|
||||
debug/moc_graphicsellipseitem.cpp: graphicsellipseitem.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) graphicsellipseitem.h -o debug/moc_graphicsellipseitem.cpp
|
||||
|
||||
debug/moc_fielditem.cpp: fielditem.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) fielditem.h -o debug/moc_fielditem.cpp
|
||||
|
||||
debug/moc_homoefielditem.cpp: fielditem.h \
|
||||
homoefielditem.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) homoefielditem.h -o debug/moc_homoefielditem.cpp
|
||||
|
||||
debug/moc_simulscene.cpp: graphicsellipseitem.h \
|
||||
simulscene.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) simulscene.h -o debug/moc_simulscene.cpp
|
||||
|
||||
debug/moc_homoefieldwidget.cpp: homoefielditem.h \
|
||||
fielditem.h \
|
||||
homoefieldwidget.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) homoefieldwidget.h -o debug/moc_homoefieldwidget.cpp
|
||||
|
||||
debug/moc_probechargewidget.cpp: probechargewidget.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) probechargewidget.h -o debug/moc_probechargewidget.cpp
|
||||
|
||||
debug/moc_homobfielditem.cpp: fielditem.h \
|
||||
homobfielditem.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) homobfielditem.h -o debug/moc_homobfielditem.cpp
|
||||
|
||||
debug/moc_homobfieldwidget.cpp: homobfielditem.h \
|
||||
fielditem.h \
|
||||
homobfieldwidget.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) homobfieldwidget.h -o debug/moc_homobfieldwidget.cpp
|
||||
|
||||
debug/moc_stopperitem.cpp: fielditem.h \
|
||||
stopperitem.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) stopperitem.h -o debug/moc_stopperitem.cpp
|
||||
|
||||
debug/moc_stopperwidget.cpp: stopperwidget.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) stopperwidget.h -o debug/moc_stopperwidget.cpp
|
||||
|
||||
compiler_rcc_make_all: debug/qrc_application.cpp
|
||||
compiler_rcc_clean:
|
||||
-$(DEL_FILE) debug/qrc_application.cpp
|
||||
debug/qrc_application.cpp: application.qrc \
|
||||
fileopen.xpm \
|
||||
filesave.xpm \
|
||||
editcopy.xpm \
|
||||
filenew.xpm \
|
||||
editpaste.xpm \
|
||||
editcut.xpm
|
||||
/usr/bin/rcc -name application application.qrc -o debug/qrc_application.cpp
|
||||
|
||||
compiler_image_collection_make_all: qmake_image_collection.cpp
|
||||
compiler_image_collection_clean:
|
||||
-$(DEL_FILE) qmake_image_collection.cpp
|
||||
compiler_moc_source_make_all:
|
||||
compiler_moc_source_clean:
|
||||
compiler_uic_make_all:
|
||||
compiler_uic_clean:
|
||||
compiler_yacc_decl_make_all:
|
||||
compiler_yacc_decl_clean:
|
||||
compiler_yacc_impl_make_all:
|
||||
compiler_yacc_impl_clean:
|
||||
compiler_lex_make_all:
|
||||
compiler_lex_clean:
|
||||
compiler_clean: compiler_moc_header_clean compiler_rcc_clean
|
||||
|
||||
####### Compile
|
||||
|
||||
debug/lsim.o: lsim.cpp lsim.h \
|
||||
graphicsview.h \
|
||||
simulscene.h \
|
||||
graphicsellipseitem.h \
|
||||
expdoublespinbox.h \
|
||||
homoefieldwidget.h \
|
||||
homoefielditem.h \
|
||||
fielditem.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/lsim.o lsim.cpp
|
||||
|
||||
debug/main.o: main.cpp lsim.h \
|
||||
graphicsview.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/main.o main.cpp
|
||||
|
||||
debug/graphicsview.o: graphicsview.cpp graphicsview.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/graphicsview.o graphicsview.cpp
|
||||
|
||||
debug/graphicsellipseitem.o: graphicsellipseitem.cpp graphicsellipseitem.h \
|
||||
simulscene.h \
|
||||
probechargewidget.h \
|
||||
constants.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/graphicsellipseitem.o graphicsellipseitem.cpp
|
||||
|
||||
debug/fielditem.o: fielditem.cpp fielditem.h \
|
||||
homoefielditem.h \
|
||||
homobfielditem.h \
|
||||
stopperitem.h \
|
||||
simulscene.h \
|
||||
graphicsellipseitem.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/fielditem.o fielditem.cpp
|
||||
|
||||
debug/homoefielditem.o: homoefielditem.cpp homoefielditem.h \
|
||||
fielditem.h \
|
||||
homoefieldwidget.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/homoefielditem.o homoefielditem.cpp
|
||||
|
||||
debug/simulscene.o: simulscene.cpp constants.h \
|
||||
simulscene.h \
|
||||
graphicsellipseitem.h \
|
||||
homoefielditem.h \
|
||||
fielditem.h \
|
||||
homobfielditem.h \
|
||||
stopperitem.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/simulscene.o simulscene.cpp
|
||||
|
||||
debug/expdoublespinbox.o: expdoublespinbox.cpp expdoublespinbox.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/expdoublespinbox.o expdoublespinbox.cpp
|
||||
|
||||
debug/homoefieldwidget.o: homoefieldwidget.cpp homoefieldwidget.h \
|
||||
homoefielditem.h \
|
||||
fielditem.h \
|
||||
expdoublespinbox.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/homoefieldwidget.o homoefieldwidget.cpp
|
||||
|
||||
debug/probechargewidget.o: probechargewidget.cpp probechargewidget.h \
|
||||
graphicsellipseitem.h \
|
||||
expdoublespinbox.h \
|
||||
constants.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/probechargewidget.o probechargewidget.cpp
|
||||
|
||||
debug/homobfielditem.o: homobfielditem.cpp homobfielditem.h \
|
||||
fielditem.h \
|
||||
homobfieldwidget.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/homobfielditem.o homobfielditem.cpp
|
||||
|
||||
debug/homobfieldwidget.o: homobfieldwidget.cpp homobfieldwidget.h \
|
||||
homobfielditem.h \
|
||||
fielditem.h \
|
||||
simulscene.h \
|
||||
graphicsellipseitem.h \
|
||||
expdoublespinbox.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/homobfieldwidget.o homobfieldwidget.cpp
|
||||
|
||||
debug/stopperitem.o: stopperitem.cpp stopperitem.h \
|
||||
fielditem.h \
|
||||
stopperwidget.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/stopperitem.o stopperitem.cpp
|
||||
|
||||
debug/stopperwidget.o: stopperwidget.cpp stopperwidget.h \
|
||||
stopperitem.h \
|
||||
fielditem.h \
|
||||
expdoublespinbox.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/stopperwidget.o stopperwidget.cpp
|
||||
|
||||
debug/moc_lsim.o: debug/moc_lsim.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/moc_lsim.o debug/moc_lsim.cpp
|
||||
|
||||
debug/moc_graphicsview.o: debug/moc_graphicsview.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/moc_graphicsview.o debug/moc_graphicsview.cpp
|
||||
|
||||
debug/moc_graphicsellipseitem.o: debug/moc_graphicsellipseitem.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/moc_graphicsellipseitem.o debug/moc_graphicsellipseitem.cpp
|
||||
|
||||
debug/moc_fielditem.o: debug/moc_fielditem.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/moc_fielditem.o debug/moc_fielditem.cpp
|
||||
|
||||
debug/moc_homoefielditem.o: debug/moc_homoefielditem.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/moc_homoefielditem.o debug/moc_homoefielditem.cpp
|
||||
|
||||
debug/moc_simulscene.o: debug/moc_simulscene.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/moc_simulscene.o debug/moc_simulscene.cpp
|
||||
|
||||
debug/moc_homoefieldwidget.o: debug/moc_homoefieldwidget.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/moc_homoefieldwidget.o debug/moc_homoefieldwidget.cpp
|
||||
|
||||
debug/moc_probechargewidget.o: debug/moc_probechargewidget.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/moc_probechargewidget.o debug/moc_probechargewidget.cpp
|
||||
|
||||
debug/moc_homobfielditem.o: debug/moc_homobfielditem.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/moc_homobfielditem.o debug/moc_homobfielditem.cpp
|
||||
|
||||
debug/moc_homobfieldwidget.o: debug/moc_homobfieldwidget.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/moc_homobfieldwidget.o debug/moc_homobfieldwidget.cpp
|
||||
|
||||
debug/moc_stopperitem.o: debug/moc_stopperitem.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/moc_stopperitem.o debug/moc_stopperitem.cpp
|
||||
|
||||
debug/moc_stopperwidget.o: debug/moc_stopperwidget.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/moc_stopperwidget.o debug/moc_stopperwidget.cpp
|
||||
|
||||
debug/qrc_application.o: debug/qrc_application.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/qrc_application.o debug/qrc_application.cpp
|
||||
|
||||
####### Install
|
||||
|
||||
install: FORCE
|
||||
|
||||
uninstall: FORCE
|
||||
|
||||
FORCE:
|
||||
|
||||
@@ -1,381 +0,0 @@
|
||||
#############################################################################
|
||||
# Makefile for building: ../bin/lsim
|
||||
# Generated by qmake (2.01a) (Qt 4.4.3) on: So Nov 23 15:07:11 2008
|
||||
# Project: src.pro
|
||||
# Template: app
|
||||
#############################################################################
|
||||
|
||||
####### Compiler, tools and options
|
||||
|
||||
CC = gcc
|
||||
CXX = g++
|
||||
DEFINES = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
|
||||
CFLAGS = -pipe -O2 -D_REENTRANT -Wall -W $(DEFINES)
|
||||
CXXFLAGS = -pipe -O2 -D_REENTRANT -Wall -W $(DEFINES)
|
||||
INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Irelease -I.
|
||||
LINK = g++
|
||||
LFLAGS =
|
||||
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
|
||||
INSTALL_FILE = install -m 644 -p
|
||||
INSTALL_DIR = $(COPY_DIR)
|
||||
INSTALL_PROGRAM = install -m 755 -p
|
||||
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 = release/
|
||||
|
||||
####### Files
|
||||
|
||||
SOURCES = lsim.cpp \
|
||||
main.cpp \
|
||||
graphicsview.cpp \
|
||||
graphicsellipseitem.cpp \
|
||||
fielditem.cpp \
|
||||
homoefielditem.cpp \
|
||||
simulscene.cpp \
|
||||
expdoublespinbox.cpp \
|
||||
homoefieldwidget.cpp \
|
||||
probechargewidget.cpp \
|
||||
homobfielditem.cpp \
|
||||
homobfieldwidget.cpp \
|
||||
stopperitem.cpp \
|
||||
stopperwidget.cpp release/moc_lsim.cpp \
|
||||
release/moc_graphicsview.cpp \
|
||||
release/moc_graphicsellipseitem.cpp \
|
||||
release/moc_fielditem.cpp \
|
||||
release/moc_homoefielditem.cpp \
|
||||
release/moc_simulscene.cpp \
|
||||
release/moc_homoefieldwidget.cpp \
|
||||
release/moc_probechargewidget.cpp \
|
||||
release/moc_homobfielditem.cpp \
|
||||
release/moc_homobfieldwidget.cpp \
|
||||
release/moc_stopperitem.cpp \
|
||||
release/moc_stopperwidget.cpp \
|
||||
release/qrc_application.cpp
|
||||
OBJECTS = release/lsim.o \
|
||||
release/main.o \
|
||||
release/graphicsview.o \
|
||||
release/graphicsellipseitem.o \
|
||||
release/fielditem.o \
|
||||
release/homoefielditem.o \
|
||||
release/simulscene.o \
|
||||
release/expdoublespinbox.o \
|
||||
release/homoefieldwidget.o \
|
||||
release/probechargewidget.o \
|
||||
release/homobfielditem.o \
|
||||
release/homobfieldwidget.o \
|
||||
release/stopperitem.o \
|
||||
release/stopperwidget.o \
|
||||
release/moc_lsim.o \
|
||||
release/moc_graphicsview.o \
|
||||
release/moc_graphicsellipseitem.o \
|
||||
release/moc_fielditem.o \
|
||||
release/moc_homoefielditem.o \
|
||||
release/moc_simulscene.o \
|
||||
release/moc_homoefieldwidget.o \
|
||||
release/moc_probechargewidget.o \
|
||||
release/moc_homobfielditem.o \
|
||||
release/moc_homobfieldwidget.o \
|
||||
release/moc_stopperitem.o \
|
||||
release/moc_stopperwidget.o \
|
||||
release/qrc_application.o
|
||||
DIST = /usr/share/qt4/mkspecs/common/g++.conf \
|
||||
/usr/share/qt4/mkspecs/common/unix.conf \
|
||||
/usr/share/qt4/mkspecs/common/linux.conf \
|
||||
/usr/share/qt4/mkspecs/qconfig.pri \
|
||||
/usr/share/qt4/mkspecs/features/qt_functions.prf \
|
||||
/usr/share/qt4/mkspecs/features/qt_config.prf \
|
||||
/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
|
||||
/usr/share/qt4/mkspecs/features/default_pre.prf \
|
||||
/usr/share/qt4/mkspecs/features/release.prf \
|
||||
/usr/share/qt4/mkspecs/features/debug_and_release.prf \
|
||||
/usr/share/qt4/mkspecs/features/default_post.prf \
|
||||
/usr/share/qt4/mkspecs/features/build_pass.prf \
|
||||
/usr/share/qt4/mkspecs/features/qt.prf \
|
||||
/usr/share/qt4/mkspecs/features/moc.prf \
|
||||
/usr/share/qt4/mkspecs/features/unix/thread.prf \
|
||||
/usr/share/qt4/mkspecs/features/warn_on.prf \
|
||||
/usr/share/qt4/mkspecs/features/resources.prf \
|
||||
/usr/share/qt4/mkspecs/features/uic.prf \
|
||||
/usr/share/qt4/mkspecs/features/yacc.prf \
|
||||
/usr/share/qt4/mkspecs/features/lex.prf \
|
||||
src.pro
|
||||
QMAKE_TARGET = lsim
|
||||
DESTDIR = ../bin/
|
||||
TARGET = ../bin/lsim
|
||||
|
||||
first: all
|
||||
####### Implicit rules
|
||||
|
||||
.SUFFIXES: .o .c .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.Release $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJECTS)
|
||||
@$(CHK_DIR_EXISTS) ../bin/ || $(MKDIR) ../bin/
|
||||
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
|
||||
|
||||
qmake: FORCE
|
||||
@$(QMAKE) -unix -o Makefile.Release src.pro
|
||||
|
||||
dist:
|
||||
@$(CHK_DIR_EXISTS) release/lsim1.0.0 || $(MKDIR) release/lsim1.0.0
|
||||
$(COPY_FILE) --parents $(SOURCES) $(DIST) release/lsim1.0.0/ && $(COPY_FILE) --parents lsim.h graphicsview.h graphicsellipseitem.h fielditem.h homoefielditem.h simulscene.h expdoublespinbox.h homoefieldwidget.h constants.h probechargewidget.h homobfielditem.h homobfieldwidget.h stopperitem.h stopperwidget.h release/lsim1.0.0/ && $(COPY_FILE) --parents application.qrc release/lsim1.0.0/ && $(COPY_FILE) --parents lsim.cpp main.cpp graphicsview.cpp graphicsellipseitem.cpp fielditem.cpp homoefielditem.cpp simulscene.cpp expdoublespinbox.cpp homoefieldwidget.cpp probechargewidget.cpp homobfielditem.cpp homobfieldwidget.cpp stopperitem.cpp stopperwidget.cpp release/lsim1.0.0/ && (cd `dirname release/lsim1.0.0` && $(TAR) lsim1.0.0.tar lsim1.0.0 && $(COMPRESS) lsim1.0.0.tar) && $(MOVE) `dirname release/lsim1.0.0`/lsim1.0.0.tar.gz . && $(DEL_FILE) -r release/lsim1.0.0
|
||||
|
||||
|
||||
clean:compiler_clean
|
||||
-$(DEL_FILE) $(OBJECTS)
|
||||
-$(DEL_FILE) *~ core *.core
|
||||
|
||||
|
||||
####### Sub-libraries
|
||||
|
||||
distclean: clean
|
||||
-$(DEL_FILE) $(TARGET)
|
||||
-$(DEL_FILE) Makefile.Release
|
||||
|
||||
|
||||
mocclean: compiler_moc_header_clean compiler_moc_source_clean
|
||||
|
||||
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
|
||||
|
||||
compiler_moc_header_make_all: release/moc_lsim.cpp release/moc_graphicsview.cpp release/moc_graphicsellipseitem.cpp release/moc_fielditem.cpp release/moc_homoefielditem.cpp release/moc_simulscene.cpp release/moc_homoefieldwidget.cpp release/moc_probechargewidget.cpp release/moc_homobfielditem.cpp release/moc_homobfieldwidget.cpp release/moc_stopperitem.cpp release/moc_stopperwidget.cpp
|
||||
compiler_moc_header_clean:
|
||||
-$(DEL_FILE) release/moc_lsim.cpp release/moc_graphicsview.cpp release/moc_graphicsellipseitem.cpp release/moc_fielditem.cpp release/moc_homoefielditem.cpp release/moc_simulscene.cpp release/moc_homoefieldwidget.cpp release/moc_probechargewidget.cpp release/moc_homobfielditem.cpp release/moc_homobfieldwidget.cpp release/moc_stopperitem.cpp release/moc_stopperwidget.cpp
|
||||
release/moc_lsim.cpp: graphicsview.h \
|
||||
lsim.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) lsim.h -o release/moc_lsim.cpp
|
||||
|
||||
release/moc_graphicsview.cpp: graphicsview.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) graphicsview.h -o release/moc_graphicsview.cpp
|
||||
|
||||
release/moc_graphicsellipseitem.cpp: graphicsellipseitem.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) graphicsellipseitem.h -o release/moc_graphicsellipseitem.cpp
|
||||
|
||||
release/moc_fielditem.cpp: fielditem.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) fielditem.h -o release/moc_fielditem.cpp
|
||||
|
||||
release/moc_homoefielditem.cpp: fielditem.h \
|
||||
homoefielditem.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) homoefielditem.h -o release/moc_homoefielditem.cpp
|
||||
|
||||
release/moc_simulscene.cpp: graphicsellipseitem.h \
|
||||
simulscene.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) simulscene.h -o release/moc_simulscene.cpp
|
||||
|
||||
release/moc_homoefieldwidget.cpp: homoefielditem.h \
|
||||
fielditem.h \
|
||||
homoefieldwidget.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) homoefieldwidget.h -o release/moc_homoefieldwidget.cpp
|
||||
|
||||
release/moc_probechargewidget.cpp: probechargewidget.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) probechargewidget.h -o release/moc_probechargewidget.cpp
|
||||
|
||||
release/moc_homobfielditem.cpp: fielditem.h \
|
||||
homobfielditem.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) homobfielditem.h -o release/moc_homobfielditem.cpp
|
||||
|
||||
release/moc_homobfieldwidget.cpp: homobfielditem.h \
|
||||
fielditem.h \
|
||||
homobfieldwidget.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) homobfieldwidget.h -o release/moc_homobfieldwidget.cpp
|
||||
|
||||
release/moc_stopperitem.cpp: fielditem.h \
|
||||
stopperitem.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) stopperitem.h -o release/moc_stopperitem.cpp
|
||||
|
||||
release/moc_stopperwidget.cpp: stopperwidget.h
|
||||
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) stopperwidget.h -o release/moc_stopperwidget.cpp
|
||||
|
||||
compiler_rcc_make_all: release/qrc_application.cpp
|
||||
compiler_rcc_clean:
|
||||
-$(DEL_FILE) release/qrc_application.cpp
|
||||
release/qrc_application.cpp: application.qrc \
|
||||
fileopen.xpm \
|
||||
filesave.xpm \
|
||||
editcopy.xpm \
|
||||
filenew.xpm \
|
||||
editpaste.xpm \
|
||||
editcut.xpm
|
||||
/usr/bin/rcc -name application application.qrc -o release/qrc_application.cpp
|
||||
|
||||
compiler_image_collection_make_all: qmake_image_collection.cpp
|
||||
compiler_image_collection_clean:
|
||||
-$(DEL_FILE) qmake_image_collection.cpp
|
||||
compiler_moc_source_make_all:
|
||||
compiler_moc_source_clean:
|
||||
compiler_uic_make_all:
|
||||
compiler_uic_clean:
|
||||
compiler_yacc_decl_make_all:
|
||||
compiler_yacc_decl_clean:
|
||||
compiler_yacc_impl_make_all:
|
||||
compiler_yacc_impl_clean:
|
||||
compiler_lex_make_all:
|
||||
compiler_lex_clean:
|
||||
compiler_clean: compiler_moc_header_clean compiler_rcc_clean
|
||||
|
||||
####### Compile
|
||||
|
||||
release/lsim.o: lsim.cpp lsim.h \
|
||||
graphicsview.h \
|
||||
simulscene.h \
|
||||
graphicsellipseitem.h \
|
||||
expdoublespinbox.h \
|
||||
homoefieldwidget.h \
|
||||
homoefielditem.h \
|
||||
fielditem.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/lsim.o lsim.cpp
|
||||
|
||||
release/main.o: main.cpp lsim.h \
|
||||
graphicsview.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/main.o main.cpp
|
||||
|
||||
release/graphicsview.o: graphicsview.cpp graphicsview.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/graphicsview.o graphicsview.cpp
|
||||
|
||||
release/graphicsellipseitem.o: graphicsellipseitem.cpp graphicsellipseitem.h \
|
||||
simulscene.h \
|
||||
probechargewidget.h \
|
||||
constants.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/graphicsellipseitem.o graphicsellipseitem.cpp
|
||||
|
||||
release/fielditem.o: fielditem.cpp fielditem.h \
|
||||
homoefielditem.h \
|
||||
homobfielditem.h \
|
||||
stopperitem.h \
|
||||
simulscene.h \
|
||||
graphicsellipseitem.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/fielditem.o fielditem.cpp
|
||||
|
||||
release/homoefielditem.o: homoefielditem.cpp homoefielditem.h \
|
||||
fielditem.h \
|
||||
homoefieldwidget.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/homoefielditem.o homoefielditem.cpp
|
||||
|
||||
release/simulscene.o: simulscene.cpp constants.h \
|
||||
simulscene.h \
|
||||
graphicsellipseitem.h \
|
||||
homoefielditem.h \
|
||||
fielditem.h \
|
||||
homobfielditem.h \
|
||||
stopperitem.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/simulscene.o simulscene.cpp
|
||||
|
||||
release/expdoublespinbox.o: expdoublespinbox.cpp expdoublespinbox.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/expdoublespinbox.o expdoublespinbox.cpp
|
||||
|
||||
release/homoefieldwidget.o: homoefieldwidget.cpp homoefieldwidget.h \
|
||||
homoefielditem.h \
|
||||
fielditem.h \
|
||||
expdoublespinbox.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/homoefieldwidget.o homoefieldwidget.cpp
|
||||
|
||||
release/probechargewidget.o: probechargewidget.cpp probechargewidget.h \
|
||||
graphicsellipseitem.h \
|
||||
expdoublespinbox.h \
|
||||
constants.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/probechargewidget.o probechargewidget.cpp
|
||||
|
||||
release/homobfielditem.o: homobfielditem.cpp homobfielditem.h \
|
||||
fielditem.h \
|
||||
homobfieldwidget.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/homobfielditem.o homobfielditem.cpp
|
||||
|
||||
release/homobfieldwidget.o: homobfieldwidget.cpp homobfieldwidget.h \
|
||||
homobfielditem.h \
|
||||
fielditem.h \
|
||||
simulscene.h \
|
||||
graphicsellipseitem.h \
|
||||
expdoublespinbox.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/homobfieldwidget.o homobfieldwidget.cpp
|
||||
|
||||
release/stopperitem.o: stopperitem.cpp stopperitem.h \
|
||||
fielditem.h \
|
||||
stopperwidget.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/stopperitem.o stopperitem.cpp
|
||||
|
||||
release/stopperwidget.o: stopperwidget.cpp stopperwidget.h \
|
||||
stopperitem.h \
|
||||
fielditem.h \
|
||||
expdoublespinbox.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/stopperwidget.o stopperwidget.cpp
|
||||
|
||||
release/moc_lsim.o: release/moc_lsim.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/moc_lsim.o release/moc_lsim.cpp
|
||||
|
||||
release/moc_graphicsview.o: release/moc_graphicsview.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/moc_graphicsview.o release/moc_graphicsview.cpp
|
||||
|
||||
release/moc_graphicsellipseitem.o: release/moc_graphicsellipseitem.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/moc_graphicsellipseitem.o release/moc_graphicsellipseitem.cpp
|
||||
|
||||
release/moc_fielditem.o: release/moc_fielditem.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/moc_fielditem.o release/moc_fielditem.cpp
|
||||
|
||||
release/moc_homoefielditem.o: release/moc_homoefielditem.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/moc_homoefielditem.o release/moc_homoefielditem.cpp
|
||||
|
||||
release/moc_simulscene.o: release/moc_simulscene.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/moc_simulscene.o release/moc_simulscene.cpp
|
||||
|
||||
release/moc_homoefieldwidget.o: release/moc_homoefieldwidget.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/moc_homoefieldwidget.o release/moc_homoefieldwidget.cpp
|
||||
|
||||
release/moc_probechargewidget.o: release/moc_probechargewidget.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/moc_probechargewidget.o release/moc_probechargewidget.cpp
|
||||
|
||||
release/moc_homobfielditem.o: release/moc_homobfielditem.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/moc_homobfielditem.o release/moc_homobfielditem.cpp
|
||||
|
||||
release/moc_homobfieldwidget.o: release/moc_homobfieldwidget.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/moc_homobfieldwidget.o release/moc_homobfieldwidget.cpp
|
||||
|
||||
release/moc_stopperitem.o: release/moc_stopperitem.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/moc_stopperitem.o release/moc_stopperitem.cpp
|
||||
|
||||
release/moc_stopperwidget.o: release/moc_stopperwidget.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/moc_stopperwidget.o release/moc_stopperwidget.cpp
|
||||
|
||||
release/qrc_application.o: release/qrc_application.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/qrc_application.o release/qrc_application.cpp
|
||||
|
||||
####### Install
|
||||
|
||||
install: FORCE
|
||||
|
||||
uninstall: FORCE
|
||||
|
||||
FORCE:
|
||||
|
||||
Reference in New Issue
Block a user