mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 19:28:53 +00:00
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
This commit is contained in:
4
Makefile
4
Makefile
@@ -482,10 +482,10 @@ ifneq ($(wildcard .tags-depend),)
|
||||
endif
|
||||
|
||||
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:
|
||||
flex --full ast_expr2.fl
|
||||
flex -o $@ --full ast_expr2.fl
|
||||
|
||||
testexpr2: ast_expr2f.c ast_expr2.c ast_expr2.h
|
||||
gcc -g -c -DSTANDALONE ast_expr2f.c
|
||||
|
@@ -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 $@ $<
|
||||
|
Reference in New Issue
Block a user