aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-08 14:34:32 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-08 14:34:32 +0000
commitdff3da58c29450ce504ba4777eb99a790d57aea6 (patch)
tree413b192c991c542ac0976184fa600c8922475261 /utils
parent78681784b9338e3940677470d8923305032aed83 (diff)
don't let make use implicit rules for bison/flex output files
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25565 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils')
-rw-r--r--utils/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/utils/Makefile b/utils/Makefile
index 3ace5f03c..249116f86 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -57,7 +57,13 @@ astman: astman.o ../md5.o
stereorize: stereorize.o frame.o
$(CC) $(CFLAGS) -o stereorize stereorize.o frame.o -lm
-.PHONY: ../ast_expr2.c ../ast_expr2f.c ../pbx/ael/aelflex.o ../pbx/ael/aelbison.o ../pbx/pbx_ael.o
+.PHONY: ../pbx/ael/aelflex.o ../pbx/ael/aelbison.o ../pbx/pbx_ael.o
+
+../ast_expr2.c:
+ bison -o $@ -d --name-prefix=ast_yy ../ast_expr2.y
+
+../ast_expr2f.c:
+ flex -o $@ --full ../ast_expr2.fl
ast_expr2.o: ../ast_expr2.c
gcc $(CFLAGS) -c -o $@ $<