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)
|
$(TARGET): $(LIBOBJ)
|
||||||
$(CXX) $(LIBFLAGS) -o $(TARGET) $(LIBOBJ)
|
$(CXX) $(LIBFLAGS) -o $(TARGET) $(LIBOBJ)
|
||||||
|
|
||||||
|
|
||||||
%.o: %.cpp $(PARSERFILES)
|
%.o: %.cpp $(PARSERFILES)
|
||||||
$(CXX) $(CFLAGS) -c -o $@ $<
|
$(CXX) $(CFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
$(SRCPARSER)/bison_parser.cpp: parser
|
$(SRCPARSER)/bison_parser.cpp:
|
||||||
$(SRCPARSER)/flex_lexer.cpp: parser
|
make -C $(SRCPARSER)/ bison_parser.cpp
|
||||||
|
|
||||||
|
$(SRCPARSER)/flex_lexer.cpp:
|
||||||
|
make -C $(SRCPARSER)/ flex_lexer.cpp
|
||||||
|
|
||||||
parser:
|
parser:
|
||||||
make -C $(SRCPARSER)/
|
make -C $(SRCPARSER) all
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(TARGET)
|
rm -f $(TARGET)
|
||||||
|
@ -52,7 +54,6 @@ install:
|
||||||
cp -r src $(INSTALL)/include/hsql
|
cp -r src $(INSTALL)/include/hsql
|
||||||
find $(INSTALL)/include/hsql -not -name '*.h' -type f | xargs rm
|
find $(INSTALL)/include/hsql -not -name '*.h' -type f | xargs rm
|
||||||
|
|
||||||
|
|
||||||
format:
|
format:
|
||||||
astyle --options=astyle.options $(ALLLIB)
|
astyle --options=astyle.options $(ALLLIB)
|
||||||
astyle --options=astyle.options $(ALLTEST)
|
astyle --options=astyle.options $(ALLTEST)
|
||||||
|
|
Loading…
Reference in New Issue