#############################################################################
# Makefile for building brcupsconfpt1
# Generated by tmake at 13:53, 2006/10/17
#     Project: brcupsconfpt1
#    Template: app
#############################################################################

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

CC	=	gcc
CXX	=	gcc
CFLAGS	=	-pipe -Wall -W -O2
CXXFLAGS=	-pipe -Wall -W -O2
INCPATH	=	-I../common
LINK	=	gcc
LFLAGS	=	
LIBS	=	$(SUBLIBS) 
MOC	=	$(QTDIR)/bin/moc
UIC	=	$(QTDIR)/bin/uic

TAR	=	tar -cf
GZIP	=	gzip -9f

####### Files

HEADERS =	brcups_commands.h
SOURCES =	brcupsconfig.c
OBJECTS =	brcupsconfig.o
INTERFACES =	
UICDECLS =	
UICIMPLS =	
SRCMOC	=	
OBJMOC	=	
DIST	=	
TARGET	=	brcupsconfpt1
INTERFACE_DECL_PATH = .

####### 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:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

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

####### Build rules


all: $(TARGET)

$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) 
	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)

moc: $(SRCMOC)

tmake: Makefile

Makefile: brcupsconfpt1.pro
	tmake brcupsconfpt1.pro -o Makefile

dist:
	$(TAR) brcupsconfpt1.tar brcupsconfpt1.pro $(SOURCES) $(HEADERS) $(INTERFACES) $(DIST)
	$(GZIP) brcupsconfpt1.tar

clean:
	-rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) $(TARGET)
	-rm -f *~ core

####### Sub-libraries


###### Combined headers


####### Compile

brcupsconfig.o: brcupsconfig.c \
		brcups_commands.h

