Skip to content
Snippets Groups Projects
Commit a4e7ae15 authored by Kevin P. Fleming's avatar Kevin P. Fleming
Browse files

don't let make use implicit rules for bison/flex output files

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent ff82a804
No related branches found
No related tags found
No related merge requests found
...@@ -482,10 +482,10 @@ ifneq ($(wildcard .tags-depend),) ...@@ -482,10 +482,10 @@ ifneq ($(wildcard .tags-depend),)
endif endif
ast_expr2.c: ast_expr2.c:
bison -d --name-prefix=ast_yy ast_expr2.y -o ast_expr2.c bison -o $@ -d --name-prefix=ast_yy ast_expr2.y
ast_expr2f.c: ast_expr2f.c:
flex --full ast_expr2.fl flex -o $@ --full ast_expr2.fl
testexpr2: ast_expr2f.c ast_expr2.c ast_expr2.h testexpr2: ast_expr2f.c ast_expr2.c ast_expr2.h
gcc -g -c -DSTANDALONE ast_expr2f.c gcc -g -c -DSTANDALONE ast_expr2f.c
......
...@@ -57,7 +57,13 @@ astman: astman.o ../md5.o ...@@ -57,7 +57,13 @@ astman: astman.o ../md5.o
stereorize: stereorize.o frame.o stereorize: stereorize.o frame.o
$(CC) $(CFLAGS) -o stereorize stereorize.o frame.o -lm $(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 ast_expr2.o: ../ast_expr2.c
gcc $(CFLAGS) -c -o $@ $< gcc $(CFLAGS) -c -o $@ $<
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment