From c9458897ebbb739d8db83c80e06512d8a612f743 Mon Sep 17 00:00:00 2001 From: danglassey Date: Wed, 14 Aug 2002 09:57:17 +0000 Subject: *** empty log message *** --- examples/X11/qt/simplefrontend/Makefile | 42 +++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 examples/X11/qt/simplefrontend/Makefile (limited to 'examples/X11/qt/simplefrontend/Makefile') diff --git a/examples/X11/qt/simplefrontend/Makefile b/examples/X11/qt/simplefrontend/Makefile new file mode 100644 index 0000000..0bfdf5e --- /dev/null +++ b/examples/X11/qt/simplefrontend/Makefile @@ -0,0 +1,42 @@ + + +CC = /usr/bin/egcs +CFLAGS = -g -I$(QTDIR)/include -I/usr/lib/qt/include -I../../../../include +LFLAGS = -L$(QTDIR)/lib -lqt -L/usr/X11R6/lib -lXext -lX11 -L../../../../lib -lsword -lstdc++ + +MOCSRC = ./simplefrontend/SimpleFrontEndProject.h +MOC_CC = ./hSimpleFrontEndProject.cpp +MOC_OBJ = ./hSimpleFrontEndProject.o + +SRC = ./SimpleFrontEndProject.cpp ./main.cpp +OBJ = $(MOC_CC) ./SimpleFrontEndProject.o ./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) $(TARGET) + +distclean: clean + rm -f core *~ $(TARGET) + +$(TARGET): tarclean $(MOC_CC) $(OBJ) + rm -f $(TARGET) + $(CC) $(CFLAGS) -o $(TARGET) $(OBJ) $(LFLAGS) + +./hSimpleFrontEndProject.cpp: ./SimpleFrontEndProject.h + moc ./SimpleFrontEndProject.h -o ./hSimpleFrontEndProject.cpp + +./SimpleFrontEndProject.o: ./SimpleFrontEndProject.h + +just-clean: clean +just-pre: + +just-targets: $(TARGET) -- cgit