TARGET	=	ttf.o 

CPP		=	g++
CXX		=	g++
CC		=	gcc
LD		=	ld
MOC		=	moc
MSGFMT		= 	msgfmt
CP		=	cp
RM		=	rm -f

CXXFLAGS	= $(CPPFLAGS)

INCL	= -I/usr/include/glib -I../include

CPPINCL = $(INCL)
CXXINCL = $(CPPINCL)

LIBS	= -lm

OBJS=		glyph.o \
		font.o

SUBDIRS	= 

.SUFFIXES:	.cpp

.cpp.o:
	$(CPP) $(CPPFLAGS) -c $(CPPINCL) $<

.cc.o:
	$(CPP) $(CPPFLAGS) -c $(CPPINCL) $<

%.cpp:	%.h

all:		debug

release:	$(TARGET)

debug:		$(TARGET)

new:	clean all

$(TARGET):	$(OBJS)
		$(LD) -r -o $(TARGET) $(OBJS)
		$(CP) $(TARGET) ../$(TARGET)

subdirs:
	set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i; done

clean:
	$(RM) $(OBJS) $(TARGET) *~ include/*~


