Override CFLAGS when using cdbs
Hi,
I try to package a project that needs to add some include
pathes to the existing default CFLAGS and thus I tried
to patch a Makefile in one subdir to
CFLAGS=$(CFLAGS) -I$(INCLUDEDIR)
but I had to learn that the CFLAGS variable that is used
in the call
cd subtree; $(MAKE)
just overrides any CFLAGS setting and the line above is
just ignored. Is there any chance to force setting of
CFLAGS in the makefile?
(Sorry, I guess this is a faq but Google was not friendly
to my search atempts.)
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: