change make dependendencies for parser so parser rebuild is not invoked on make: Nothing to be done for 'library'.
This commit is contained in:
parent
589a251ed7
commit
ccf791eee2
11
Makefile
11
Makefile
|
@ -27,15 +27,17 @@ library: $(TARGET)
|
|||
$(TARGET): $(LIBOBJ)
|
||||
$(CXX) $(LIBFLAGS) -o $(TARGET) $(LIBOBJ)
|
||||
|
||||
|
||||
%.o: %.cpp $(PARSERFILES)
|
||||
$(CXX) $(CFLAGS) -c -o $@ $<
|
||||
|
||||
$(SRCPARSER)/bison_parser.cpp: parser
|
||||
$(SRCPARSER)/flex_lexer.cpp: parser
|
||||
$(SRCPARSER)/bison_parser.cpp:
|
||||
make -C $(SRCPARSER)/ bison_parser.cpp
|
||||
|
||||
$(SRCPARSER)/flex_lexer.cpp:
|
||||
make -C $(SRCPARSER)/ flex_lexer.cpp
|
||||
|
||||
parser:
|
||||
make -C $(SRCPARSER)/
|
||||
make -C $(SRCPARSER) all
|
||||
|
||||
clean:
|
||||
rm -f $(TARGET)
|
||||
|
@ -52,7 +54,6 @@ install:
|
|||
cp -r src $(INSTALL)/include/hsql
|
||||
find $(INSTALL)/include/hsql -not -name '*.h' -type f | xargs rm
|
||||
|
||||
|
||||
format:
|
||||
astyle --options=astyle.options $(ALLLIB)
|
||||
astyle --options=astyle.options $(ALLTEST)
|
||||
|
|
Loading…
Reference in New Issue