]> git.vomp.tv Git - vompclient-marten.git/blob - Makefile.nmake
Windows updates
[vompclient-marten.git] / Makefile.nmake
1
2 ###############################
3
4 #       ! Chris - WRONG FILE !
5
6 ###############################
7
8
9 CXXFLAGS_DEV = -g -O0 -Wall -Woverloaded-virtual -Wshadow -Werror -DDEV -D_GNU_SOURCE $(INCLUDES)
10 CXXFLAGS_REL = /I"$(DXSDK_DIR)\Include" /I"$(JPEG_LIB)" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "NEW_DEMUXER"  /nologo /EHsc /MD /GS   /W3  /c   /TP
11 LDFLAGS =  /INCREMENTAL:NO /NOLOGO /NODEFAULTLIB  /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF /LIBPATH:"$(DXSDK_DIR)\Lib\x86"
12
13 LIBS = Msvcrt.lib Ws2_32.lib shlwapi.lib d3d9.lib d3dx9.lib Iphlpapi.lib Strmiids.lib winmm.lib MSVCPRT.lib kernel32.lib user32.lib gdi32.lib ole32.lib uuid.lib libjpeg.lib oleaut32.lib
14
15 CROSSLIBS =
16
17 !include "objects.mk"
18
19
20 OBJECTSWIN = winmain.o threadwin.o remotewin.o ledwin.o mtdwin.o videowin.o audiowin.o osdwin.o surfacewin.o dsallocator.o dssourcefilter.o dssourcepin.o wwinvideofilter.o wwinaudiofilter.o wwinmp3audiofilter.o
21
22 OBJECTS = $(OBJECTS1) $(OBJECTSWIN)
23
24 #.PHONY: clean fresh all install strip
25
26 default: release  #dev
27
28 release::
29 CXXFLAGS= $(CXXFLAGS_REL)
30 release:: vompclient.exe
31
32
33
34 vompclient.exe: $(OBJECTS) vompwin.res
35         link $(LDFLAGS) /OUT:"vompclient.exe" $(LIBS) $(OBJECTS) vompwin.res
36
37
38
39 $(OBJECTS): $*.cc
40         $(CXX) $(CXXFLAGS) /Fo$*.o $*.cc
41
42 vompwin.res:vompwin.rc
43         $(RC) /fo"vompwin.res" "vompwin.rc"
44
45 clean:
46   del  *.o
47   del vompclient.exe
48   del fonts\*.o
49