comparison libmpcodecs/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 64d82a45a05d
children 5f216140e72b
comparison
equal deleted inserted replaced
19419:3ae6b0a6fffc 19420:4f71ed7cb512
315 OBJS=$(SRCS:.c=.o) 315 OBJS=$(SRCS:.c=.o)
316 316
317 SRCS2=$(ENCODER_SRCS) 317 SRCS2=$(ENCODER_SRCS)
318 OBJS2=$(SRCS2:.c=.o) 318 OBJS2=$(SRCS2:.c=.o)
319 319
320 CFLAGS = $(OPTFLAGS) \ 320 CFLAGS = -I. -I.. \
321 -I. -I.. \
322 -Inative \ 321 -Inative \
323 -I../libmpdemux \ 322 -I../libmpdemux \
324 -I../stream \ 323 -I../stream \
325 -I../loader \ 324 -I../loader \
326 $(LIBAV_INC) \ 325 $(LIBAV_INC) \
326 $(OPTFLAGS) \
327 -D_GNU_SOURCE \ 327 -D_GNU_SOURCE \
328 328
329 .SUFFIXES: .c .o 329 .SUFFIXES: .c .o
330 330
331 # .PHONY: all clean 331 # .PHONY: all clean