# Simple makefile by ARRae
#
# C++ compiler and flags (you may replace CXXFLAGS by `-O2' if you want 
# a faster executable without debug information. This can also be done
# by setting the CXXFLAGS environment variable before running configure. 

QT_INC = -I/usr/lib/qt/include
CXX = g++
CXXFLAGS = -g -O -ansi -Wall
INCS = -I. -I.. -I../.. -I../../../images -I../../include -I../include
CPPFLAGS = $(INCS) -I/usr/X11R6/include $(QT_INC)

SRCS = latexpreamble.C LaTeXPreambleDialog.C \
       moc_LaTeXPreambleDialog.C

OBJS = latexpreamble.o LaTeXPreambleDialog.o \
       moc_LaTeXPreambleDialog.o

.SUFFIXES: .C .o

.C.o: 
	$(CXX) -c $(CXXFLAGS) $(CPPFLAGS) $< 

all: $(OBJS)

clean:
	$(RM) *.o *.a core

distclean:	clean
	$(RM) *.orig *.rej *~ TAGS *.bak 

depend: 
	gcc -DHAVE_GETTEXT $(INCS) -MM $(SRCS) > depend.mk

include depend.mk
