mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 05:40:38 +01:00
Poincare: Silent build
Change-Id: I49afd7f71c211dbaa8453608570d3972ecb08517
This commit is contained in:
@@ -11,11 +11,11 @@ rulegen_objs := $(addprefix $(dir)/,\
|
||||
|
||||
$(dir)/rules_parser.cpp: $(dir)/rules_parser.y
|
||||
@echo "BISON $@"
|
||||
bison --defines=poincare/src/simplify/rules_generation/rules_tokens.h $< -o $@
|
||||
@bison --defines=poincare/src/simplify/rules_generation/rules_tokens.h $< -o $@
|
||||
|
||||
$(dir)/rules_lexer.cpp: $(dir)/rules_lexer.l $(dir)/rules_parser.cpp
|
||||
@echo "FLEX $@"
|
||||
flex -o $@ $<
|
||||
@flex -o $@ $<
|
||||
|
||||
RULEGEN := $(dir)/rulegen
|
||||
|
||||
@@ -25,7 +25,7 @@ products += $(rulegen_objs) $(RULEGEN) $(addprefix $(dir)/,\
|
||||
rules_lexer.cpp\
|
||||
)
|
||||
|
||||
GENERATOR_CXXFLAGS = -std=c++11
|
||||
GENERATOR_CXXFLAGS = -std=c++11 -Wno-deprecated-register
|
||||
|
||||
HOSTCC = clang
|
||||
HOSTCXX = clang++
|
||||
@@ -36,4 +36,4 @@ $(rulegen_objs): %.o: %.cpp
|
||||
|
||||
$(RULEGEN): $(rulegen_objs)
|
||||
@echo "HOSTLD $@"
|
||||
$(HOSTCXX) $(rulegen_objs) -o $@
|
||||
@$(HOSTCXX) $(rulegen_objs) -o $@
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
int yylex();
|
||||
int yyparse(std::vector<Rule *> ** rules);
|
||||
int yyerror(std::vector<Rule *> ** rules, char *s);
|
||||
int yyerror(std::vector<Rule *> ** rules, const char *s);
|
||||
%}
|
||||
|
||||
|
||||
@@ -99,7 +99,7 @@ builder_list:
|
||||
#include <sstream>
|
||||
#include <iostream>
|
||||
|
||||
int yyerror(std::vector<Rule *> ** rules, char *s) {
|
||||
int yyerror(std::vector<Rule *> ** rules, const char *s) {
|
||||
printf("Error: %s\n",s);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user