no $< in fixed rules.

git-svn-id: file:///svn/unbound/trunk@2546 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2011-11-11 10:17:00 +00:00
parent 1befacc444
commit fc7f057d0b

View file

@ -376,12 +376,12 @@ util/configlexer.c: $(srcdir)/util/configlexer.lex util/configparser.h
if test "$(LEX)" != ":"; then \ if test "$(LEX)" != ":"; then \
echo "#include \"config.h\"" > $@ ;\ echo "#include \"config.h\"" > $@ ;\
echo "#include \"util/configyyrename.h\"" >> $@ ;\ echo "#include \"util/configyyrename.h\"" >> $@ ;\
$(LEX) -t $< >> $@ ;\ $(LEX) -t $(srcdir)/util/configlexer.lex >> $@ ;\
fi fi
util/configparser.c util/configparser.h: $(srcdir)/util/configparser.y util/configparser.c util/configparser.h: $(srcdir)/util/configparser.y
@-if test ! -d util; then $(INSTALL) -d util; fi @-if test ! -d util; then $(INSTALL) -d util; fi
$(YACC) -d -o util/configparser.c $< $(YACC) -d -o util/configparser.c $(srcdir)/util/configparser.y
clean: clean:
rm -f *.o *.d *.lo *~ tags rm -f *.o *.d *.lo *~ tags