diff options
author | danglassey <danglassey> | 2002-08-14 09:57:17 +0000 |
---|---|---|
committer | danglassey <danglassey> | 2002-08-14 09:57:17 +0000 |
commit | c9458897ebbb739d8db83c80e06512d8a612f743 (patch) | |
tree | f8c5381045887e34388cc6b26cfccc254bf766dc /examples/X11/qt/simplefrontend/Makefile | |
download | sword-sf-cvs-c9458897ebbb739d8db83c80e06512d8a612f743.tar.gz |
*** empty log message ***
Diffstat (limited to 'examples/X11/qt/simplefrontend/Makefile')
-rw-r--r-- | examples/X11/qt/simplefrontend/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
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) |