[asterisk-dev] Another Asterisk makefile question
    Juan Carlos Castro y Castro 
    jcastro at instant.com.br
       
    Wed May 24 11:48:33 MST 2006
    
    
  
Kevin P. Fleming wrote:
>Juan Carlos Castro y Castro wrote:
>  
>
>>Why is "testexpr2" compiled with gcc regardless of what the CC variable
>>says?
>>    
>>
>No. It's been fixed.
>
Did a svn up, and I don't see it right now in trunk:
./Makefile:
(...)
testexpr2: ast_expr2f.c ast_expr2.c ast_expr2.h
        gcc -g -c -DSTANDALONE ast_expr2f.c
        gcc -g -c -DSTANDALONE ast_expr2.c
        gcc -g -o testexpr2 ast_expr2f.o ast_expr2.o
        rm ast_expr2.o ast_expr2f.o
(...)
utils/Makefile:
(...)
ast_expr2.o: ../ast_expr2.c
        gcc  $(CFLAGS) -c -o $@ $<
ast_expr2f.o: ../ast_expr2f.c
        gcc  $(CFLAGS) -c -DSTANDALONE -o $@ $<
(...)
    
    
More information about the asterisk-dev
mailing list