diff options
Diffstat (limited to 'tmake/doc/m-linux-gcc.html')
-rw-r--r-- | tmake/doc/m-linux-gcc.html | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/tmake/doc/m-linux-gcc.html b/tmake/doc/m-linux-gcc.html new file mode 100644 index 0000000..300ef35 --- /dev/null +++ b/tmake/doc/m-linux-gcc.html @@ -0,0 +1,85 @@ +<!doctype HTML public "-//W3C//DTD HTML 3.2//EN"> +<html><head><title> +Generated Makefile for Linux / GNU g++ +</title></head><body bgcolor="#ffffff"> +<h2 align=center>Generated Makefile for Linux / GNU gcc</h2> + +<pre> +############################################################################# +# Makefile for building hello +# Generated by tmake at 10:11, 1998/07/07 +# Project: hello +# Template: app +############################################################################# + +####### Compiler, tools and options + +CC = g++ +CFLAGS = -Wall -W -O2 -fno-strength-reduce +INCPATH = -I$(QTDIR)/include +LINK = g++ +LFLAGS = +LIBS = -L$(QTDIR)/lib -lqt -L/usr/X11R6/lib -lX11 +MOC = moc + +####### Files + +HEADERS = hello.h +SOURCES = hello.cpp \ + main.cpp +OBJECTS = hello.o \ + main.o +SRCMOC = moc_hello.cpp +OBJMOC = moc_hello.o +TARGET = hello + +####### Implicit rules + +.SUFFIXES: .cpp .cxx .cc .C .c + +.cpp.o: + $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< + +.cxx.o: + $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< + +.cc.o: + $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< + +.C.o: + $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< + +.c.o: + $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< + +####### Build rules + +all: $(TARGET) + +$(TARGET): $(OBJECTS) $(OBJMOC) + $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS) + +moc: $(SRCMOC) + +tmake: + tmake hello.pro + +clean: + -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(TARGET) + -rm -f *~ core + +####### Compile + +hello.o: hello.cpp \ + hello.h + +main.o: main.cpp \ + hello.h + +moc_hello.o: moc_hello.cpp \ + hello.h + +moc_hello.cpp: hello.h + $(MOC) hello.h -o moc_hello.cpp +</pre> +</body></html> |