summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2006-04-29 14:48:32 +0000
committerKevin P. Fleming <kpfleming@digium.com>2006-04-29 14:48:32 +0000
commit54d6194340c6964e5089dcc92425f695fd8c942d (patch)
tree722def83b04c8d56bcebcf15aa4e2815513a5e3a /utils
parent1209c0ea58fc900d7f6469395ee486eb4ae4206a (diff)
fix up dependencies for aelparse so that bison/flex will not be run to rebuild source files (that should _only_ be done manually)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23354 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils')
-rw-r--r--utils/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/utils/Makefile b/utils/Makefile
index 9b838fc0e..ef73d90b9 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -57,16 +57,18 @@ astman: astman.o ../md5.o
stereorize: stereorize.o frame.o
$(CC) $(CFLAGS) -o stereorize stereorize.o frame.o -lm
+.PHONY: ../pbx/ael/aelflex.o ../pbx/ael/aelbison.o ../pbx/pbx_ael.o
+
ast_expr2.o: ../ast_expr2.c
- gcc -g -c -o $@ $<
+ gcc $(CFLAGS) -include ../include/autoconfig.h -c -o $@ $<
ast_expr2f.o: ../ast_expr2f.c
- gcc -g -c -DSTANDALONE -o $@ $<
+ gcc $(CFLAGS) -include ../include/autoconfig.h -c -DSTANDALONE -o $@ $<
check_expr: check_expr.c ast_expr2.o ast_expr2f.o
$(CC) $(CFLAGS) -o $@ $^
-aelparse : ../pbx/ael/aelflex.o ../pbx/ael/aelbison.o ../pbx/pbx_ael.o ael_main.o ../ast_expr2f.o ../ast_expr2.o
+aelparse : ../pbx/ael/aelflex.o ../pbx/ael/aelbison.o ../pbx/pbx_ael.o ael_main.o ast_expr2f.o ast_expr2.o
$(CC) $(CFLAGS) -g -o aelparse ../pbx/ael/aelflex.o ../pbx/ael/aelbison.o ael_main.o ../pbx/pbx_ael.o ../ast_expr2f.o ../ast_expr2.o
ael_main.o : ael_main.c ../include/asterisk/ael_structs.h