Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Makefile bug in vdr 1.1.20



Clemens Kirchgatterer <clemens@thf.ath.cx> wrote:

> 
> in vdr-1.1.20/libdtv/libvdr/Makefile 
> 
> CFLAGS ?= -O2 -g -Wmissing-prototypes -Wstrict-prototypes \
>          -Wimplicit -D__USE_FIXED_PROTOTYPES__ -I../include # -DDEBUG
> 
> when CFLAGS are defined in the outside environment the important
> -I../include parameter will not get set. -I should get defined
> independently.

the Makefile should get changed to something like that:

CFLAGS ?= -O2 -g -Wmissing-prototypes -Wstrict-prototypes \
         -Wimplicit -D__USE_FIXED_PROTOTYPES__

INCLUDE = -I../include

[..]


.c.o:
   $(COMPILE.c)   $(INCLUDE) $(DEFINES) $(CFLAGS) -c $< $(OUTPUT_OPTION)

.cpp.o:
   $(COMPILE.cpp) $(INCLUDE) $(DEFINES) $(CFLAGS) -c $< $(OUTPUT_OPTION)



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index