]> git.vomp.tv Git - vompclient.git/blob - Makefile.nmake
Add led patch by dingo35
[vompclient.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" /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 Mfuuid.lib winmm.lib MSVCPRT.lib kernel32.lib user32.lib gdi32.lib ole32.lib uuid.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 wwinvideoh264filter.o wwinaudiofilter.o wwinmp3audiofilter.o wjpegsimple.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         mt -manifest vompclient.exe.manifest -outputresource:vompclient.exe;1
37
38
39
40 $(OBJECTS): $*.cc
41         $(CXX) $(CXXFLAGS) /Fo$*.o $*.cc
42
43 vompwin.res:vompwin.rc
44         $(RC) /fo"vompwin.res" "vompwin.rc"
45
46 clean:
47   del  *.o
48   del vompclient.exe
49   del fonts\*.o
50