CXXFLAGS_DEV = -g -O0 -Wall -Woverloaded-virtual -Wshadow -Werror -DDEV -D_GNU_SOURCE $(INCLUDES) CXXFLAGS_REL = /I"$(DXSDK_DIR)\Include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "NEW_DEMUXER" /nologo /EHsc /MD /GS /W3 /c /TP LDFLAGS = /INCREMENTAL:NO /NOLOGO /NODEFAULTLIB /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF /LIBPATH:"$(DXSDK_DIR)\Lib\x86" 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 CROSSLIBS = !include "objects.mk" 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 OBJECTS = $(OBJECTS1) $(OBJECTSWIN) #.PHONY: clean fresh all install strip default: release #dev release:: CXXFLAGS= $(CXXFLAGS_REL) release:: vompclient.exe vompclient.exe: $(OBJECTS) vompwin.res link $(LDFLAGS) /OUT:"vompclient.exe" $(LIBS) $(OBJECTS) vompwin.res $(OBJECTS): $*.cc $(CXX) $(CXXFLAGS) /Fo$*.o $*.cc vompwin.res:vompwin.rc $(RC) /fo"vompwin.res" "vompwin.rc" clean: del *.o del vompclient.exe del fonts\*.o