CC = /usr/bin/egcs
CFLAGS = -g -I$(QTDIR)/include  -I../../../../include
LFLAGS = -L$(QTDIR)/lib -lqt -L/usr/X11R6/lib -lXext -lX11 -L../../../../lib -lswmgr -lkeys -lutilfuns -lmodules -lstdc++ -lfrontend -lswmgr -lkeys -lutilfuns -lmodules -lstdc++ -lfrontend

MOCSRC = /usr/src/sword/examples/X11/qt/simplefrontend/SimpleFrontEndProject.h 
MOC_CC = /usr/src/sword/examples/X11/qt/simplefrontend/hSimpleFrontEndProject.cpp 
MOC_OBJ = /usr/src/sword/examples/X11/qt/simplefrontend/hSimpleFrontEndProject.o 

SRC = /usr/src/sword/examples/X11/qt/simplefrontend/SimpleFrontEndProject.cpp /usr/src/sword/examples/X11/qt/simplefrontend/main.cpp 
OBJ = $(MOC_CC) /usr/src/sword/examples/X11/qt/simplefrontend/SimpleFrontEndProject.o /usr/src/sword/examples/X11/qt/simplefrontend/main.o  
TARGET = simplefrontend
.SUFFIXES: .cpp

.cpp.o: $(SRC)
	$(CC) $(CFLAGS) -c $*.cpp -o $@

all: $(TARGET)

tarclean:
	rm -f $(TARGET) core

clean:
	rm -f $(OBJ) $(MOC_CC)

distclean: clean
	rm -f core *~ $(TARGET)

$(TARGET): tarclean $(MOC_CC) $(OBJ)
	rm -f $(TARGET)
	$(CC) $(CFLAGS) -o $(TARGET) $(OBJ) $(LFLAGS)

/usr/src/sword/examples/X11/qt/simplefrontend/hSimpleFrontEndProject.cpp: /usr/src/sword/examples/X11/qt/simplefrontend/SimpleFrontEndProject.h
	moc /usr/src/sword/examples/X11/qt/simplefrontend/SimpleFrontEndProject.h -o /usr/src/sword/examples/X11/qt/simplefrontend/hSimpleFrontEndProject.cpp

/usr/src/sword/examples/X11/qt/simplefrontend/SimpleFrontEndProject.o: /usr/src/sword/examples/X11/qt/simplefrontend/SimpleFrontEndProject.h

