mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-16 17:53:15 +00:00
this update to Makefile corrects how ast_expr2f.c should be generated
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@86881 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -106,6 +106,8 @@ ast_expr2.c ast_expr2.h:
|
|||||||
|
|
||||||
ast_expr2f.c:
|
ast_expr2f.c:
|
||||||
flex -o $@ --full ast_expr2.fl
|
flex -o $@ --full ast_expr2.fl
|
||||||
|
sed 's@free( (char \*) ptr );@if(ptr) free( (char *) ptr );@' ast_expr2f.c > zz
|
||||||
|
mv zz ast_expr2f.c
|
||||||
|
|
||||||
testexpr2: ast_expr2f.c ast_expr2.c ast_expr2.h
|
testexpr2: ast_expr2f.c ast_expr2.c ast_expr2.h
|
||||||
$(CC) -g -c -Iinclude -DSTANDALONE ast_expr2f.c
|
$(CC) -g -c -Iinclude -DSTANDALONE ast_expr2f.c
|
||||||
|
Reference in New Issue
Block a user