diff libaf/Makefile @ 19420:4f71ed7cb512

Move all internal -I parameters to the front of CFLAGS to avoid using external header files that happen to have the same name as internal ones. based on a patch by Vladislav Naumov, vladislav.naumov **at** gmail **dot** com
author diego
date Thu, 17 Aug 2006 17:19:56 +0000
parents 7a9a9748e045
children 618d1857f4c4
line wrap: on
line diff
--- a/libaf/Makefile	Thu Aug 17 16:44:54 2006 +0000
+++ b/libaf/Makefile	Thu Aug 17 17:19:56 2006 +0000
@@ -43,7 +43,7 @@
 
 OBJS=$(SRCS:.c=.o)
 
-CFLAGS  = $(OPTFLAGS) -I. -I.. $(LIBAV_INC) -D_GNU_SOURCE
+CFLAGS  = -I. -I.. $(LIBAV_INC) $(OPTFLAGS) -D_GNU_SOURCE
 
 ifeq ($(TARGET_OS),MINGW32)
 CFLAGS += -D_IO_H_