diff options
author | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-24 17:43:50 +0000 |
---|---|---|
committer | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-24 17:43:50 +0000 |
commit | c2dd2c6b994668711a123e5fd60162643521a171 (patch) | |
tree | e00d1513a8b205c77cb6eddedf362fb45be58b0f /utils/Makefile | |
parent | 0442474ffa0558209dba953d5c66638fc2d7e0d4 (diff) |
updated check_expr via 8322 (refactoring of expression checking impl); elfring contributed a nice code reorg, I contributed some time to get it working again, better messages
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@52002 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils/Makefile')
-rw-r--r-- | utils/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/utils/Makefile b/utils/Makefile index a07a39da7..75aab8e3a 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -20,6 +20,7 @@ ifeq ($(findstring BSD,${OSARCH}),BSD) CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include -L$(CROSS_COMPILE_TARGET)/usr/local/lib endif +# to get check_expr, add it to the TARGET list TARGET=stereorize streamplayer ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/popt.h)$(wildcard -f $(CROSS_COMPILE_TARGET)/usr/local/include/popt.h),) @@ -55,13 +56,13 @@ stereorize: stereorize.o frame.o $(CC) $(CFLAGS) -o stereorize stereorize.o frame.o -lm ast_expr2.o: ../ast_expr2.c - gcc -g -c -o $@ $< + gcc -g $(CFLAGS) -c -o $@ $< ast_expr2f.o: ../ast_expr2f.c - gcc -g -c -DSTANDALONE -o $@ $< + gcc -g $(CFLAGS) -c -DSTANDALONE -o $@ $< check_expr: check_expr.c ast_expr2.o ast_expr2f.o - $(CC) $(CFLAGS) -o $@ $^ + $(CC) $(CFLAGS) -o $@ check_expr.c ast_expr2.o ast_expr2f.o smsq: smsq.o $(CC) $(CFLAGS) -o smsq ${SOL} smsq.o -lpopt |