8 |
# Requires GNU Make because of shell expansion performed at a bad time with |
# Requires GNU Make because of shell expansion performed at a bad time with |
9 |
# other make programs (even using := variable assignments) |
# other make programs (even using := variable assignments) |
10 |
# |
# |
11 |
# $Id: Makefile,v 1.4 2004-07-25 11:13:16 suxen_drol Exp $ |
# $Id: Makefile,v 1.7 2008-11-27 11:57:51 Isibaar Exp $ |
12 |
############################################################################## |
############################################################################## |
13 |
|
|
14 |
include sources.inc |
include sources.inc |
35 |
# The `mingw-runtime` package is required when building with -mno-cygwin |
# The `mingw-runtime` package is required when building with -mno-cygwin |
36 |
CFLAGS += -mthreads |
CFLAGS += -mthreads |
37 |
CFLAGS += -I$(SRC_DIR)/w32api -I$(LOCAL_XVID_SRCTREE) |
CFLAGS += -I$(SRC_DIR)/w32api -I$(LOCAL_XVID_SRCTREE) |
|
CFLAGS += -D_WIN32_IE=0x0500 |
|
38 |
CFLAGS += -mno-cygwin |
CFLAGS += -mno-cygwin |
39 |
|
|
40 |
CXXFLAGS +=-mthreads |
CXXFLAGS +=-mthreads |
54 |
CFLAGS += -fstrength-reduce |
CFLAGS += -fstrength-reduce |
55 |
CFLAGS += -finline-functions |
CFLAGS += -finline-functions |
56 |
CFLAGS += -fgcse |
CFLAGS += -fgcse |
|
CFLAGS += -freduce-all-givs |
|
57 |
CFLAGS += -ffast-math |
CFLAGS += -ffast-math |
58 |
|
|
59 |
CXXFLAGS += -O2 |
CXXFLAGS += -O2 |
112 |
$(OBJECTS) xvid.ax.def \ |
$(OBJECTS) xvid.ax.def \ |
113 |
-L$(DXTREE)/Lib -lstrmiids \ |
-L$(DXTREE)/Lib -lstrmiids \ |
114 |
$(DXBASECLASSES)/strmbase.lib \ |
$(DXBASECLASSES)/strmbase.lib \ |
115 |
-luuid -lwinmm -lole32 -loleaut32 -lcomctl32 -lstdc++ |
-luuid -lwinmm -lole32 -loleaut32 -lcomctl32 -lstdc++ #-lgdi32 |
|
|
|
116 |
|
|
117 |
clean: |
clean: |
118 |
@echo " Cl: Object files and target lib" |
@echo " Cl: Object files and target lib" |