commit: 12f1edca6878700b740ee518f792c626b4eff5e8
parent f6bd3b199894787cabc15b05397b0ba131be9f16
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 22 Mar 2024 20:52:27 +0100
src/Makefile: use $(YACC) instead of `bison -y`
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Makefile b/src/Makefile
@@ -14,7 +14,7 @@ clean:
$(MAKE) -C tinyxml clean
calc.cpp: calc.yy
- bison -y calc.yy && mv y.tab.c calc.cpp
+ $(YACC) -o $@ calc.yy
$(OBJS): %.o: %.cpp
$(CXX) -std=c++14 $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c $< -o $@