Added dependency to allow for parallel builds.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@711 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
cb520e0f2d
commit
f6d5f68aed
1 changed files with 3 additions and 1 deletions
|
|
@ -43,11 +43,13 @@ $(TARGET): $(OBJS)
|
|||
parser.o: parser.cxx
|
||||
$(CXX) $(INCLUDE) $(CFLAGS) $< -c -o parser.o
|
||||
|
||||
parser.cxx: $(PARSER)
|
||||
parser.cxx parser.h: $(PARSER)
|
||||
$(YACC) @YFLAGS@ $(PARSER)
|
||||
@cp y.tab.h parser.h
|
||||
@cp y.tab.c parser.cxx
|
||||
|
||||
scanner.o: parser.h
|
||||
|
||||
parser::
|
||||
@cp y.tab.c.bison parser.cxx
|
||||
@cp y.tab.h.bison parser.h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue