2 |
# |
# |
3 |
# Makefile for XviD VFW driver |
# Makefile for XviD VFW driver |
4 |
# |
# |
5 |
# Author : ??? <cutka at szm.sk> |
# Author : Milan Cutka <cutka at szm.sk> |
6 |
# Modified by : Edouard Gomez <ed.gomez at free.fr> |
# Modified by : Edouard Gomez <ed.gomez at free.fr> |
7 |
# Peter Ross <pross@xvid.org> |
# Peter Ross <pross@xvid.org> |
8 |
# |
# |
9 |
# 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 |
10 |
# other make programs (even using := variable assignments) |
# other make programs (even using := variable assignments) |
11 |
# |
# |
12 |
# $Id: Makefile,v 1.2 2004-03-22 22:36:25 edgomez Exp $ |
# $Id: Makefile,v 1.5 2005-12-18 02:55:54 syskin Exp $ |
13 |
############################################################################## |
############################################################################## |
14 |
|
|
15 |
include sources.inc |
include sources.inc |
36 |
CFLAGS += -fstrength-reduce |
CFLAGS += -fstrength-reduce |
37 |
CFLAGS += -finline-functions |
CFLAGS += -finline-functions |
38 |
CFLAGS += -fgcse |
CFLAGS += -fgcse |
|
CFLAGS += -freduce-all-givs |
|
39 |
CFLAGS += -ffast-math |
CFLAGS += -ffast-math |
40 |
|
|
41 |
############################################################################## |
############################################################################## |
42 |
# Compiler flags for linking stage |
# Compiler flags for linking stage |
43 |
############################################################################## |
############################################################################## |
44 |
|
|
45 |
LDFLAGS += -L$(LOCAL_XVID_BUILDTREE) |
# LDFLAGS += |
46 |
|
|
47 |
############################################################################## |
############################################################################## |
48 |
# Rules |
# Rules |
84 |
-mno-cygwin -shared -Wl,-dll,--out-implib,$@.a,--enable-stdcall-fixup \ |
-mno-cygwin -shared -Wl,-dll,--out-implib,$@.a,--enable-stdcall-fixup \ |
85 |
-o $@ \ |
-o $@ \ |
86 |
$(OBJECTS) driverproc.def \ |
$(OBJECTS) driverproc.def \ |
87 |
-lxvidcore -lgdi32 -lwinmm -lcomdlg32 -lcomctl32 |
-lgdi32 -lwinmm -lcomdlg32 -lcomctl32 |
88 |
|
|
89 |
clean: |
clean: |
90 |
@echo " Cl: Object files and target lib" |
@echo " Cl: Object files and target lib" |