Hi,

As far as I know, the first characters should define the language:
CFLAGS -> c
CXXFLAGS -> c++
PFLAGS -> pascal

But it's not really standard, it depends on the Makefile(s). For example
the avr.extra makes no difference:

$(NCC) -o $(MAIN_EXE) $(NCC_SAFE_TINYOS_FLAGS) $(OPTFLAGS) $(PFLAGS)
$(CFLAGS) $(WIRING_CHECK_FLAGS) $(COMPONENT).nc $(LIBS) $(LDFLAGS)

Andris


On Mon, Jan 7, 2013 at 5:37 PM, Xiaohui Liu <xiao...@wayne.edu> wrote:

> Hi everyone,
>
> What is the difference between CFLAGS and PFLAGS, if any? Some Makefiles
> use CFLAGS while others use PFLAGS for the same purpose, e.g., define
> preprocessor symbol. Here is a related 
> discussion<http://tinyos-help.10906.n7.nabble.com/Changing-tinyos-2-1-1-tos-chips-cc2420-transmit-td21537.html#a31485775>
> .
>
> Thanks in advance.
>
> --
> -Xiaohui Liu
> TelosB
> TinyOS 2.1.2
> www.cs.wayne.edu/xliu/
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to