You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.4 KiB
65 lines
1.4 KiB
# $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
|