#############################################################################
# Makefile for building: libutils.a
# Generated by qmake (1.07a) (Qt 3.3.1) on: Mon Aug  9 11:28:43 2004
# Project:  utils.pro
# Template: lib
# Command: $(QMAKE) -o Makefile utils.pro
#############################################################################

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

CC             = gcc
CXX            = g++
LEX            = flex
YACC           = yacc
CFLAGS         = -pipe -Wall -W -O2  -DQT_NO_DEBUG
CXXFLAGS       = -pipe -Wall -W -O2  -DQT_NO_DEBUG
LEXFLAGS       = 
YACCFLAGS      = -d
INCPATH        = -I/afs/mpe/home/ott/qt-x11-free-3.3.1/mkspecs/default -I. -I$(QTDIR)/include
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    = ./

####### Files

HEADERS        = cpg3d.h
SOURCES        = dsqinf.f \
                 freddy.f \
                 pgcell.f \
                 pgxtal.f \
                 plot2d.f \
                 cpg3d.c
OBJECTS        = dsqinf.o \
                 freddy.o \
                 pgcell.o \
                 pgxtal.o \
                 plot2d.o \
                 cpg3d.o
FORMS          = 
UICDECLS       = 
UICIMPLS       = 
SRCMOC         = 
OBJMOC         = 
DIST	       = utils.pro
QMAKE_TARGET   = utils
DESTDIR        = 
TARGET         = libutils.a

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

.SUFFIXES: .c .o .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 $(TARGET) 

staticlib: $(TARGET)

$(TARGET):  $(UICDECLS) $(OBJECTS) $(OBJMOC) $(OBJCOMP) 
	-$(DEL_FILE) $(TARGET)
	$(AR) $(TARGET) $(OBJECTS) $(OBJMOC)


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

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

Makefile: utils.pro  /afs/mpe/home/ott/qt-x11-free-3.3.1/mkspecs/default/qmake.conf ../../../../../../mpe/home/ott/qt-x11-free-3.3.1/lib/libqt.prl
	$(QMAKE) -o Makefile utils.pro
qmake: 
	@$(QMAKE) -o Makefile utils.pro

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

mocclean:

uiclean:

yaccclean:
lexclean:
clean:
	-$(DEL_FILE) $(OBJECTS)
	-$(DEL_FILE) *~ core *.core


####### Sub-libraries

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


FORCE:

####### Compile

dsqinf.o: dsqinf.f 

freddy.o: freddy.f 

pgcell.o: pgcell.f 

pgxtal.o: pgxtal.f 

plot2d.o: plot2d.f 

cpg3d.o: cpg3d.c 

####### Install

install:  

uninstall:  

