changeset 22535:3945d813e573

Simplify CFLAGS handling.
author diego
date Tue, 13 Mar 2007 22:17:48 +0000
parents c0348807eabd
children b19e2fb20a41
files dvdread/Makefile libfaad2/Makefile
diffstat 2 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/dvdread/Makefile	Tue Mar 13 22:16:03 2007 +0000
+++ b/dvdread/Makefile	Tue Mar 13 22:17:48 2007 +0000
@@ -14,8 +14,6 @@
 CFLAGS= -D__USE_UNIX98 -D_GNU_SOURCE -DSTDC_HEADERS \
 	-DHAVE_LIMITS_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
 
-ifeq ($(DVDCSS_INTERNAL),yes)
-CFLAGS += -I../libdvdcss -DHAVE_DVDCSS_DVDCSS_H
-endif
+CFLAGS-$(DVDCSS_INTERNAL) += -I../libdvdcss -DHAVE_DVDCSS_DVDCSS_H
 
 include ../mpcommon.mak
--- a/libfaad2/Makefile	Tue Mar 13 22:16:03 2007 +0000
+++ b/libfaad2/Makefile	Tue Mar 13 22:17:48 2007 +0000
@@ -45,8 +45,6 @@
 
 # The FIXED_POINT implementation of FAAD2 improves performance
 # on some platforms, especially for SBR files.
-ifeq ($(FAAD_FIXED),yes)
-CFLAGS  += -DFIXED_POINT
-endif
+CFLAGS-$(FAAD_FIXED)  += -DFIXED_POINT
 
 include ../mpcommon.mak