aboutsummaryrefslogtreecommitdiffstats
path: root/examples/X11/qt/simplefrontend/Makefile
diff options
context:
space:
mode:
authordanglassey <danglassey>2002-08-14 09:57:17 +0000
committerdanglassey <danglassey>2002-08-14 09:57:17 +0000
commitc9458897ebbb739d8db83c80e06512d8a612f743 (patch)
treef8c5381045887e34388cc6b26cfccc254bf766dc /examples/X11/qt/simplefrontend/Makefile
downloadsword-sf-cvs-c9458897ebbb739d8db83c80e06512d8a612f743.tar.gz
*** empty log message ***
Diffstat (limited to 'examples/X11/qt/simplefrontend/Makefile')
-rw-r--r--examples/X11/qt/simplefrontend/Makefile42
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)