C++ programming with KDevelop - Makefile for mjbWorld

#############################################################################
# Makefile for building: build/mjbWorld
# Generated by qmake (1.07a) (Qt 3.3.4) on: Fri Jul 22 19:15:56 2005
# Project: mjbWorld.pro
# Template: app
# Command: $(QMAKE) -o Makefile mjbWorld.pro
#############################################################################

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

CC = gcc
CXX = g++
LEX = flex
YACC = yacc
CFLAGS = -pipe -O2 -fmessage-length=0 -Wall -g -DUSE_LIB64_PATHES -Wall -W -g -D_REENTRANT -DQT_THREAD_SUPPORT
CXXFLAGS = -pipe -O2 -fmessage-length=0 -Wall -g -DUSE_LIB64_PATHES -Wall -W -g -D_REENTRANT -DQT_THREAD_SUPPORT
LEXFLAGS =
YACCFLAGS= -d
INCPATH = -I/usr/lib/qt3/mkspecs/default -I. -I.. -I/usr/include -I$(QTDIR)/include -I/usr/include -I/usr/X11R6/include -Imocs/
LINK = g++
LFLAGS =
LIBS = $(SUBLIBS) -L/usr/lib64/ -L$(QTDIR)/lib64/ -L/usr/lib64/ -L/usr/X11R6/lib64/ -L../mjbModel/build -lmjbModel -lqt-mt -lGLU -lGL -lXmu -lXext -lX11 -lm -lpthread
AR = ar cqs
RANLIB =
MOC = $(QTDIR)/bin/moc
UIC = $(QTDIR)/bin/uic
QMAKE = qmake
TAR = tar -cf
GZIP = gzip -9f
COPY = cp -f
COPY_FILE= $(COPY)
COPY_DIR = $(COPY) -r
INSTALL_FILE= $(COPY_FILE)
INSTALL_DIR = $(COPY_DIR)
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 = objs/

####### Files

HEADERS = d_2d.h \
d_cp.h \
d_find.h \
d_hanim.h \
filter_base.h \
filter_dxf.h \
filter_obj.h \
filter_x3d.h \
frame2d.h \
frame3d.h \
frameAdd.h \
frameBrowser.h \
frameLayout.h \
frameMove.h \
frameProperties.h \
frameQuickShape.h \
frameTimeline.h \
frameTools.h \
frameTree.h \
mjbEventArgs.h \
mjbFrame.h \
mjbWorld.h \
moveCanvas.h \
s_canvas3d.h \
screenCP.h \
textureEditCanvas.h \
timeline.h \
timelineCanvas.h \
twodCanvas.h \
NodeListViewItem.h
SOURCES = d_2d.cpp \
d_cp.cpp \
d_find.cpp \
d_hanim.cpp \
filter_base.cpp \
filter_dxf.cpp \
filter_obj.cpp \
filter_x3d.cpp \
frame2d.cpp \
frame3d.cpp \
frameAdd.cpp \
frameBrowser.cpp \
frameLayout.cpp \
frameMove.cpp \
frameProperties.cpp \
frameQuickShape.cpp \
frameTimeline.cpp \
frameTools.cpp \
frameTree.cpp \
mjbFrame.cpp \
mjbWorld.cpp \
moveCanvas.cpp \
s_canvas3d.cpp \
screenCP.cpp \
textureEditCanvas.cpp \
timeline.cpp \
timelineCanvas.cpp \
twodCanvas.cpp \
NodeListViewItem.cpp
OBJECTS = objs/d_2d.o \
objs/d_cp.o \
objs/d_find.o \
objs/d_hanim.o \
objs/filter_base.o \
objs/filter_dxf.o \
objs/filter_obj.o \
objs/filter_x3d.o \
objs/frame2d.o \
objs/frame3d.o \
objs/frameAdd.o \
objs/frameBrowser.o \
objs/frameLayout.o \
objs/frameMove.o \
objs/frameProperties.o \
objs/frameQuickShape.o \
objs/frameTimeline.o \
objs/frameTools.o \
objs/frameTree.o \
objs/mjbFrame.o \
objs/mjbWorld.o \
objs/moveCanvas.o \
objs/s_canvas3d.o \
objs/screenCP.o \
objs/textureEditCanvas.o \
objs/timeline.o \
objs/timelineCanvas.o \
objs/twodCanvas.o \
objs/NodeListViewItem.o
FORMS =
UICDECLS =
UICIMPLS =
SRCMOC = mocs/moc_d_2d.cpp \
mocs/moc_d_cp.cpp \
mocs/moc_d_find.cpp \
mocs/moc_d_hanim.cpp \
mocs/moc_frame2d.cpp \
mocs/moc_frame3d.cpp \
mocs/moc_frameAdd.cpp \
mocs/moc_frameBrowser.cpp \
mocs/moc_frameLayout.cpp \
mocs/moc_frameProperties.cpp \
mocs/moc_frameQuickShape.cpp \
mocs/moc_frameTimeline.cpp \
mocs/moc_frameTools.cpp \
mocs/moc_frameTree.cpp \
mocs/moc_mjbFrame.cpp \
mocs/moc_twodCanvas.cpp
OBJMOC = objs/moc_d_2d.o \
objs/moc_d_cp.o \
objs/moc_d_find.o \
objs/moc_d_hanim.o \
objs/moc_frame2d.o \
objs/moc_frame3d.o \
objs/moc_frameAdd.o \
objs/moc_frameBrowser.o \
objs/moc_frameLayout.o \
objs/moc_frameProperties.o \
objs/moc_frameQuickShape.o \
objs/moc_frameTimeline.o \
objs/moc_frameTools.o \
objs/moc_frameTree.o \
objs/moc_mjbFrame.o \
objs/moc_twodCanvas.o
DIST = mjbWorld.pro
QMAKE_TARGET = mjbWorld
DESTDIR = build/
TARGET = build/mjbWorld

first: all
####### Implicit rules

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

.cpp.o:
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o $@ $<

.cc.o:
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o $@ $<

.cxx.o:
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o $@ $<

.C.o:
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o $@ $<

.c.o:
$(CC) -c -include mjbWorld $(CFLAGS) $(INCPATH) -o $@ $<

####### Build rules

all: Makefile $(TARGET)

$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
test -d build/ || mkdir -p build/
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(OBJCOMP) $(LIBS)

mocables: $(SRCMOC)
uicables: $(UICDECLS) $(UICIMPLS)

$(MOC):
( cd $(QTDIR)/src/moc && $(MAKE) )

Makefile: mjbWorld.pro /usr/lib/qt3/mkspecs/default/qmake.conf
$(QMAKE) -o Makefile mjbWorld.pro
qmake:
@$(QMAKE) -o Makefile mjbWorld.pro

dist:
@mkdir -p objs/mjbWorld && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) objs/mjbWorld/ && ( cd `dirname objs/mjbWorld` && $(TAR) mjbWorld.tar mjbWorld && $(GZIP) mjbWorld.tar ) && $(MOVE) `dirname objs/mjbWorld`/mjbWorld.tar.gz . && $(DEL_FILE) -r objs/mjbWorld

mocclean:
-$(DEL_FILE) $(OBJMOC)
-$(DEL_FILE) $(SRCMOC)

uiclean:

yaccclean:
lexclean:
clean: mocclean
-$(DEL_FILE) $(OBJECTS)
-$(DEL_FILE) mjbWorld.gch/c mjbWorld.gch/c++
-$(DEL_FILE) *~ core *.core


####### Sub-libraries

distclean: clean
-$(DEL_FILE) build/$(TARGET) $(TARGET)


###### Prefix headers
mjbWorld.gch/c: ../mjbModel/stable.h
test -d mjbWorld.gch/ || mkdir -p mjbWorld.gch/
$(CC) -x c-header -c $(CFLAGS) $(INCPATH) ../mjbModel/stable.h -o mjbWorld.gch/c

mjbWorld.gch/c++: ../mjbModel/stable.h
test -d mjbWorld.gch/ || mkdir -p mjbWorld.gch/
$(CXX) -x c++-header -c $(CXXFLAGS) $(INCPATH) ../mjbModel/stable.h -o mjbWorld.gch/c++

FORCE:

####### Compile

objs/d_2d.o: d_2d.cpp mjbWorld.gch/c++ \
d_2d.h \
frame2d.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/d_2d.o d_2d.cpp

objs/d_cp.o: d_cp.cpp mjbWorld.gch/c++ \
d_cp.h \
mjbFrame.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/d_cp.o d_cp.cpp

objs/d_find.o: d_find.cpp mjbWorld.gch/c++ \
d_find.h \
mjbFrame.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/d_find.o d_find.cpp

objs/d_hanim.o: d_hanim.cpp mjbWorld.gch/c++ \
d_hanim.h \
frameQuickShape.h \
mjbFrame.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/d_hanim.o d_hanim.cpp

objs/filter_base.o: filter_base.cpp mjbWorld.gch/c++ \
filter_base.h \
mjbFrame.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/filter_base.o filter_base.cpp

objs/filter_dxf.o: filter_dxf.cpp mjbWorld.gch/c++ \
filter_dxf.h \
filter_base.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/filter_dxf.o filter_dxf.cpp

objs/filter_obj.o: filter_obj.cpp mjbWorld.gch/c++ \
filter_obj.h \
mjbFrame.h \
filter_base.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/filter_obj.o filter_obj.cpp

objs/filter_x3d.o: filter_x3d.cpp mjbWorld.gch/c++ \
filter_x3d.h \
filter_base.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/filter_x3d.o filter_x3d.cpp

objs/frame2d.o: frame2d.cpp mjbWorld.gch/c++ \
frame2d.h \
mjbFrame.h \
d_2d.h \
twodCanvas.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/frame2d.o frame2d.cpp

objs/frame3d.o: frame3d.cpp mjbWorld.gch/c++ \
frame3d.h \
mjbFrame.h \
s_canvas3d.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/frame3d.o frame3d.cpp

objs/frameAdd.o: frameAdd.cpp mjbWorld.gch/c++ \
frameAdd.h \
mjbFrame.h \
mjbEventArgs.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/frameAdd.o frameAdd.cpp

objs/frameBrowser.o: frameBrowser.cpp mjbWorld.gch/c++ \
frameBrowser.h \
mjbFrame.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/frameBrowser.o frameBrowser.cpp

objs/frameLayout.o: frameLayout.cpp mjbWorld.gch/c++ \
mjbFrame.h \
frameLayout.h \
frameTree.h \
frameMove.h \
frame3d.h \
frame2d.h \
frameProperties.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/frameLayout.o frameLayout.cpp

objs/frameMove.o: frameMove.cpp mjbWorld.gch/c++ \
frameMove.h \
mjbFrame.h \
moveCanvas.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/frameMove.o frameMove.cpp

objs/frameProperties.o: frameProperties.cpp mjbWorld.gch/c++ \
frameProperties.h \
mjbFrame.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/frameProperties.o frameProperties.cpp

objs/frameQuickShape.o: frameQuickShape.cpp mjbWorld.gch/c++ \
frameQuickShape.h \
mjbFrame.h \
d_hanim.h \
filter_base.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/frameQuickShape.o frameQuickShape.cpp

objs/frameTimeline.o: frameTimeline.cpp mjbWorld.gch/c++ \
frameTimeline.h \
mjbFrame.h \
timelineCanvas.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/frameTimeline.o frameTimeline.cpp

objs/frameTools.o: frameTools.cpp mjbWorld.gch/c++ \
frameTools.h \
mjbFrame.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/frameTools.o frameTools.cpp

objs/frameTree.o: frameTree.cpp mjbWorld.gch/c++ \
frameTree.h \
mjbEventArgs.h \
mjbFrame.h \
NodeListViewItem.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/frameTree.o frameTree.cpp

objs/mjbFrame.o: mjbFrame.cpp mjbWorld.gch/c++ \
mjbFrame.h \
mjbEventArgs.h \
frameMove.h \
frameLayout.h \
frame2d.h \
frame3d.h \
frameProperties.h \
frameAdd.h \
filter_base.h \
filter_obj.h \
filter_x3d.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/mjbFrame.o mjbFrame.cpp

objs/mjbWorld.o: mjbWorld.cpp mjbWorld.gch/c++ \
mjbWorld.h \
mjbFrame.h \
d_find.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/mjbWorld.o mjbWorld.cpp

objs/moveCanvas.o: moveCanvas.cpp mjbWorld.gch/c++ \
moveCanvas.h \
frameMove.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/moveCanvas.o moveCanvas.cpp

objs/s_canvas3d.o: s_canvas3d.cpp mjbWorld.gch/c++ \
s_canvas3d.h \
mjbFrame.h \
d_cp.h \
frameMove.h \
screenCP.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/s_canvas3d.o s_canvas3d.cpp

objs/screenCP.o: screenCP.cpp mjbWorld.gch/c++ \
screenCP.h \
s_canvas3d.h \
d_cp.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/screenCP.o screenCP.cpp

objs/textureEditCanvas.o: textureEditCanvas.cpp mjbWorld.gch/c++ \
textureEditCanvas.h \
mjbFrame.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/textureEditCanvas.o textureEditCanvas.cpp

objs/timeline.o: timeline.cpp mjbWorld.gch/c++ \
timeline.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/timeline.o timeline.cpp

objs/timelineCanvas.o: timelineCanvas.cpp mjbWorld.gch/c++ \
timelineCanvas.h \
mjbFrame.h \
timeline.h \
frameTimeline.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/timelineCanvas.o timelineCanvas.cpp

objs/twodCanvas.o: twodCanvas.cpp mjbWorld.gch/c++ \
twodCanvas.h \
frame2d.h \
mjbFrame.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/twodCanvas.o twodCanvas.cpp

objs/NodeListViewItem.o: NodeListViewItem.cpp mjbWorld.gch/c++ \
NodeListViewItem.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/NodeListViewItem.o NodeListViewItem.cpp

objs/moc_d_2d.o: mocs/moc_d_2d.cpp mjbWorld.gch/c++ d_2d.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/moc_d_2d.o mocs/moc_d_2d.cpp

objs/moc_d_cp.o: mocs/moc_d_cp.cpp mjbWorld.gch/c++ d_cp.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/moc_d_cp.o mocs/moc_d_cp.cpp

objs/moc_d_find.o: mocs/moc_d_find.cpp mjbWorld.gch/c++ d_find.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/moc_d_find.o mocs/moc_d_find.cpp

objs/moc_d_hanim.o: mocs/moc_d_hanim.cpp mjbWorld.gch/c++ d_hanim.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/moc_d_hanim.o mocs/moc_d_hanim.cpp

objs/moc_frame2d.o: mocs/moc_frame2d.cpp mjbWorld.gch/c++ frame2d.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/moc_frame2d.o mocs/moc_frame2d.cpp

objs/moc_frame3d.o: mocs/moc_frame3d.cpp mjbWorld.gch/c++ frame3d.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/moc_frame3d.o mocs/moc_frame3d.cpp

objs/moc_frameAdd.o: mocs/moc_frameAdd.cpp mjbWorld.gch/c++ frameAdd.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/moc_frameAdd.o mocs/moc_frameAdd.cpp

objs/moc_frameBrowser.o: mocs/moc_frameBrowser.cpp mjbWorld.gch/c++ frameBrowser.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/moc_frameBrowser.o mocs/moc_frameBrowser.cpp

objs/moc_frameLayout.o: mocs/moc_frameLayout.cpp mjbWorld.gch/c++ frameLayout.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/moc_frameLayout.o mocs/moc_frameLayout.cpp

objs/moc_frameProperties.o: mocs/moc_frameProperties.cpp mjbWorld.gch/c++ frameProperties.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/moc_frameProperties.o mocs/moc_frameProperties.cpp

objs/moc_frameQuickShape.o: mocs/moc_frameQuickShape.cpp mjbWorld.gch/c++ frameQuickShape.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/moc_frameQuickShape.o mocs/moc_frameQuickShape.cpp

objs/moc_frameTimeline.o: mocs/moc_frameTimeline.cpp mjbWorld.gch/c++ frameTimeline.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/moc_frameTimeline.o mocs/moc_frameTimeline.cpp

objs/moc_frameTools.o: mocs/moc_frameTools.cpp mjbWorld.gch/c++ frameTools.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/moc_frameTools.o mocs/moc_frameTools.cpp

objs/moc_frameTree.o: mocs/moc_frameTree.cpp mjbWorld.gch/c++ frameTree.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/moc_frameTree.o mocs/moc_frameTree.cpp

objs/moc_mjbFrame.o: mocs/moc_mjbFrame.cpp mjbWorld.gch/c++ mjbFrame.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/moc_mjbFrame.o mocs/moc_mjbFrame.cpp

objs/moc_twodCanvas.o: mocs/moc_twodCanvas.cpp mjbWorld.gch/c++ twodCanvas.h
$(CXX) -c -include mjbWorld $(CXXFLAGS) $(INCPATH) -o objs/moc_twodCanvas.o mocs/moc_twodCanvas.cpp

mocs/moc_d_2d.cpp: $(MOC) d_2d.h
$(MOC) d_2d.h -o mocs/moc_d_2d.cpp

mocs/moc_d_cp.cpp: $(MOC) d_cp.h
$(MOC) d_cp.h -o mocs/moc_d_cp.cpp

mocs/moc_d_find.cpp: $(MOC) d_find.h
$(MOC) d_find.h -o mocs/moc_d_find.cpp

mocs/moc_d_hanim.cpp: $(MOC) d_hanim.h
$(MOC) d_hanim.h -o mocs/moc_d_hanim.cpp

mocs/moc_frame2d.cpp: $(MOC) frame2d.h
$(MOC) frame2d.h -o mocs/moc_frame2d.cpp

mocs/moc_frame3d.cpp: $(MOC) frame3d.h
$(MOC) frame3d.h -o mocs/moc_frame3d.cpp

mocs/moc_frameAdd.cpp: $(MOC) frameAdd.h
$(MOC) frameAdd.h -o mocs/moc_frameAdd.cpp

mocs/moc_frameBrowser.cpp: $(MOC) frameBrowser.h
$(MOC) frameBrowser.h -o mocs/moc_frameBrowser.cpp

mocs/moc_frameLayout.cpp: $(MOC) frameLayout.h
$(MOC) frameLayout.h -o mocs/moc_frameLayout.cpp

mocs/moc_frameProperties.cpp: $(MOC) frameProperties.h
$(MOC) frameProperties.h -o mocs/moc_frameProperties.cpp

mocs/moc_frameQuickShape.cpp: $(MOC) frameQuickShape.h
$(MOC) frameQuickShape.h -o mocs/moc_frameQuickShape.cpp

mocs/moc_frameTimeline.cpp: $(MOC) frameTimeline.h
$(MOC) frameTimeline.h -o mocs/moc_frameTimeline.cpp

mocs/moc_frameTools.cpp: $(MOC) frameTools.h
$(MOC) frameTools.h -o mocs/moc_frameTools.cpp

mocs/moc_frameTree.cpp: $(MOC) frameTree.h
$(MOC) frameTree.h -o mocs/moc_frameTree.cpp

mocs/moc_mjbFrame.cpp: $(MOC) mjbFrame.h
$(MOC) mjbFrame.h -o mocs/moc_mjbFrame.cpp

mocs/moc_twodCanvas.cpp: $(MOC) twodCanvas.h
$(MOC) twodCanvas.h -o mocs/moc_twodCanvas.cpp

####### Install

install:

uninstall:


metadata block
see also:

 

Correspondence about this page

This site may have errors. Don't use for critical systems.

Copyright (c) 1998-2022 Martin John Baker - All rights reserved - privacy policy.