diff options
Diffstat (limited to 'tmake/doc/m-win32-msvc.html')
-rw-r--r-- | tmake/doc/m-win32-msvc.html | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/tmake/doc/m-win32-msvc.html b/tmake/doc/m-win32-msvc.html new file mode 100644 index 0000000..24097cc --- /dev/null +++ b/tmake/doc/m-win32-msvc.html @@ -0,0 +1,89 @@ +<!doctype HTML public "-//W3C//DTD HTML 3.2//EN"> +<html><head><title> +Generated Makefile for Win32 / Microsoft Visual C++ +</title></head><body bgcolor="#ffffff"> +<h2 align=center>Generated Makefile for Win32 / Microsoft Visual C++</h2> + +<pre> +############################################################################# +# Makefile for building hello +# Generated by tmake at 20:40, 1998/02/27 +# Project: hello +# Template: app +############################################################################# + +####### Compiler, tools and options + +CC = cl +CFLAGS = -nologo -W3 -O2 +INCPATH = -I"$(QTDIR)\include" +LINK = link +LFLAGS = /NOLOGO /SUBSYSTEM:windows +LIBS = $(QTDIR)\lib\qt.lib user32.lib gdi32.lib comdlg32.lib wsock32.lib +MOC = moc + +####### Files + +HEADERS = hello.h +SOURCES = hello.cpp \ + main.cpp +OBJECTS = hello.obj \ + main.obj +SRCMOC = moc_hello.cpp +OBJMOC = moc_hello.obj +TARGET = hello.exe + +####### Implicit rules + +.SUFFIXES: .cpp .cxx .cc .c + +.cpp.obj: + $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $< + +.cxx.obj: + $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $< + +.cc.obj: + $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $< + +.c.obj: + $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $< + +####### Build rules + +all: $(TARGET) + +$(TARGET): $(OBJECTS) $(OBJMOC) + $(LINK) $(LFLAGS) /OUT:$(TARGET) @<< + $(OBJECTS) $(OBJMOC) $(LIBS) +<< + +moc: $(SRCMOC) + +tmake: Makefile + +Makefile: hello.pro + tmake hello.pro -o Makefile + +clean: + -del hello.obj + -del main.obj + -del moc_hello.cpp + -del moc_hello.obj + -del $(TARGET) + +####### Compile + +hello.obj: hello.cpp \ + hello.h + +main.obj: main.cpp \ + hello.h + +moc_hello.obj: moc_hello.cpp \ + hello.h + +moc_hello.cpp: hello.h + $(MOC) hello.h -o moc_hello.cpp +</pre> +</body></html> |