diff options
author | Denis Kozadaev <denis@dilos.org> | 2020-03-28 17:45:12 +0300 |
---|---|---|
committer | Denis Kozadaev <denis@dilos.org> | 2020-03-28 17:45:12 +0300 |
commit | b93fd6da0b9fd56962db2ea64f98da30d5f93538 (patch) | |
tree | 9e20e7301f6d6ed7b45750718d6998a0d39e2ced /qnetchess/Makefile.win32 | |
parent | 62af0157e055222214ab132575e41f924e997ff1 (diff) | |
download | tdegames-qnetchess.tar.gz tdegames-qnetchess.zip |
Network Chess game for two playersqnetchess
Signed-off-by: Denis Kozadaev <denis@dilos.org>
Diffstat (limited to 'qnetchess/Makefile.win32')
-rw-r--r-- | qnetchess/Makefile.win32 | 64 |
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 |