summaryrefslogtreecommitdiffstats
path: root/qnetchess/Makefile.win32
diff options
context:
space:
mode:
Diffstat (limited to 'qnetchess/Makefile.win32')
-rw-r--r--qnetchess/Makefile.win3264
1 files changed, 64 insertions, 0 deletions
diff --git a/qnetchess/Makefile.win32 b/qnetchess/Makefile.win32
new file mode 100644
index 00000000..9179cc83
--- /dev/null
+++ b/qnetchess/Makefile.win32
@@ -0,0 +1,64 @@
+# $Id: Makefile.win32,v 1.0 2005/01/16 13:45:54 denis Exp $
+
+PROG= QNetChess
+CC= cl
+CXX= cl
+LOCALE_FILE= $(PROG)_ru
+CXXFLAGS= -GX -nologo -W3 -MD -O1 -DQT_DLL -DQT_THREAD_SUPPORT -DNO_DEBUG\
+ -DLOCALE_FILE=\""$(LOCALE_FILE)"\"
+INCPATH= -I"$(QTDIR)\include"
+LINK= link
+LDFLAGS= /NOLOGO /SUBSYSTEM:windows /OPT:REF
+LIBS= $(QTDIR)\lib\qt-mteval321.lib $(QTDIR)\lib\qtmain.lib \
+ opengl32.lib glu32.lib kernel32.lib user32.lib gdi32.lib \
+ comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib \
+ uuid.lib imm32.lib winmm.lib wsock32.lib
+MOC= $(QTDIR)\bin\moc
+
+OBJS= main.obj mainwindow.obj gameboard.obj gamesocket.obj\
+ mainwindow.moc gameboard.moc gamesocket.moc
+TARGET= $(PROG).exe
+
+
+.SUFFIXES: .h .cxx .cpp .obj .moc
+
+.cpp.obj:
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<
+
+.cxx.moc:
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<
+
+.h.cxx:
+ $(MOC) -o $@ $<
+
+all: $(OBJS)
+ $(LINK) $(LDFLAGS) /OUT:$(TARGET) @<<
+ $(OBJS) $(LIBS)
+<<
+
+clean:
+ -del main.obj
+ -del mainwindow.obj
+ -del gameboard.obj
+ -del gamesocket.obj
+ -del mainwindow.moc
+ -del gameboard.moc
+ -del gamesocket.moc
+ -del mainwindow.cxx
+ -del gameboard.cxx
+ -del gamesocket.cxx
+
+distclean: clean
+ -del $(TARGET)
+
+
+main.obj: main.cpp
+mainwindow.obj: mainwindow.cpp
+gameboard.obj: gameboard.cpp
+gamesocket.obj: gamesocket.cpp
+mainwindow.moc: mainwindow.cxx
+gameboard.moc: gameboard.cxx
+gamesocket.moc: gamesocket.cxx
+mainwindow.cxx: mainwindow.h
+gameboard.cxx: gameboard.h
+gamesocket.cxx: gamesocket.h