]> git.vomp.tv Git - vompclient.git/blob - Makefile.nmake
Fix line endings
[vompclient.git] / Makefile.nmake
1 CXXFLAGS_DEV = -g -O0 -Wall -Woverloaded-virtual -Wshadow -Werror -DDEV -D_GNU_SOURCE $(INCLUDES)
2 CXXFLAGS_REL = /I"$(DXSDK_DIR)\Include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "NEW_DEMUXER"  /nologo /EHsc /MD /GS   /W3  /c   /TP
3 LDFLAGS =  /INCREMENTAL:NO /NOLOGO /NODEFAULTLIB  /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF /LIBPATH:"$(DXSDK_DIR)\Lib\x86"
4
5 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
6
7 CROSSLIBS =
8
9 !include "objects.mk"
10
11
12 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
13
14 OBJECTS = $(OBJECTS1) $(OBJECTSWIN)
15
16 #.PHONY: clean fresh all install strip
17
18 default: release  #dev
19
20 release::
21 CXXFLAGS= $(CXXFLAGS_REL)
22 release:: vompclient.exe
23
24
25
26 vompclient.exe: $(OBJECTS) vompwin.res
27         link $(LDFLAGS) /OUT:"vompclient.exe" $(LIBS) $(OBJECTS) vompwin.res
28
29
30
31 $(OBJECTS): $*.cc
32         $(CXX) $(CXXFLAGS) /Fo$*.o $*.cc
33
34 vompwin.res:vompwin.rc
35         $(RC) /fo"vompwin.res" "vompwin.rc"
36
37 clean:
38   del  *.o
39   del vompclient.exe
40   del fonts\*.o
41