make *.lex.h depend on the FLEX rule as well for the raw Makefile system

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5029 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2008-05-10 21:28:06 +00:00
parent 73be5e4b4d
commit 55d0221158
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
%.o: %.cpp
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c -o$@ $<
%.lex.c: %.l
%.lex.h %.lex.c: %.l
$(FLEX) $(FLEXFLAGS) -o$@ $<
%.tab.h %.tab.c: %.y