aboutsummaryrefslogtreecommitdiffstats
path: root/utils/Makefile
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-29 14:48:32 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-29 14:48:32 +0000
commit4e767760c884488e9bce7b17d2f833d10118923a (patch)
tree722def83b04c8d56bcebcf15aa4e2815513a5e3a /utils/Makefile
parenta93a6a71eede6bf1abb1458e2ec50aba65cf7bb9 (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: http://svn.digium.com/svn/asterisk/trunk@23354 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils/Makefile')
-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