diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-20 01:06:50 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-20 01:06:50 +0000 |
commit | 1bf6e418ca2e9d5a0e289b1d175d2f7632f155a1 (patch) | |
tree | 2c17f854a5ebcbadd002e8fd68dd326a798b5c32 /Makefile | |
parent | 69a1293208743e00e34bc2ba4a2be2750594ea77 (diff) |
- use $(CC) instead of gcc when building testexpr2
- modify ast_expr2.fl and ast_expr2.y to not try to register the file version
in a STANDALONE build
- add config.status as a dependency on testexpr2 to ensure configure is
executed before building it
- add include/asterisk/buildopts.h as a dependency for testexpr2 as well
- add -Iinclude to the gcc commands for building the testexpr2 objects so that
it can find the local asterisk headers
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34980 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -423,10 +423,10 @@ ast_expr2.c ast_expr2.h: ast_expr2f.c: flex -o $@ --full ast_expr2.fl -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 +testexpr2: config.status include/asterisk/buildopts.h ast_expr2f.c ast_expr2.c ast_expr2.h + $(CC) -g -c -Iinclude -DSTANDALONE ast_expr2f.c + $(CC) -g -c -Iinclude -DSTANDALONE ast_expr2.c + $(CC) -g -o testexpr2 ast_expr2f.o ast_expr2.o rm ast_expr2.o ast_expr2f.o manpage: asterisk.8 |