simplify CFLAGS handling for subdirectories

don't put paths into the include search path when they are not needed
don't auto-rebuild the AEL bison/flex output based on make dependencies (the generated files are already checked in, and the timestamps generated by a checkout will usually cause them to be overwritten)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2006-04-30 11:40:06 +00:00
parent 6ec91a102c
commit 7343d311f1
3 changed files with 13 additions and 13 deletions

View File

@@ -59,10 +59,10 @@ ael/aelflex.o: ael/ael_lex.c ../include/asterisk/ael_structs.h ael/ael.tab.h
ael/aelbison.o: ael/ael.tab.c ael/ael.tab.h ../include/asterisk/ael_structs.h
$(CC) $(CFLAGS) -I. -c -o ael/aelbison.o ael/ael.tab.c
ael/ael_lex.c: ael/ael.flex
ael/ael_lex.c:
(cd ael; flex ael.flex)
ael/ael.tab.c ael/ael.tab.h: ael/ael.y
ael/ael.tab.c ael/ael.tab.h:
(cd ael; bison -v -d ael.y)
%.moc : %.h