diff options
| author | Patrick Schönberger | 2021-08-14 14:56:12 +0200 |
|---|---|---|
| committer | Patrick Schönberger | 2021-08-14 14:56:12 +0200 |
| commit | c6ad2948bb98d42f8e0883ef82cd14cd2d5eda60 (patch) | |
| tree | 9e83d6d8f61e56f5d3425b8709314d6bdb9315a9 /antlr4-cpp-runtime-4.9.2-source/runtime/src/atn/Makefile | |
| parent | 9f94b672a5dc32da5ad01742bd4e976315a30d9c (diff) | |
| download | toc-c6ad2948bb98d42f8e0883ef82cd14cd2d5eda60.tar.gz toc-c6ad2948bb98d42f8e0883ef82cd14cd2d5eda60.zip | |
Diffstat (limited to 'antlr4-cpp-runtime-4.9.2-source/runtime/src/atn/Makefile')
| -rw-r--r-- | antlr4-cpp-runtime-4.9.2-source/runtime/src/atn/Makefile | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/antlr4-cpp-runtime-4.9.2-source/runtime/src/atn/Makefile b/antlr4-cpp-runtime-4.9.2-source/runtime/src/atn/Makefile new file mode 100644 index 0000000..480bd85 --- /dev/null +++ b/antlr4-cpp-runtime-4.9.2-source/runtime/src/atn/Makefile @@ -0,0 +1,67 @@ + +CXXFLAGS += -g -std=c++0x -Wall #-Wextra +CXXFLAGS += -I. -I../ -I../misc/ -I../tree/ -I../dfa/ \ + -I../../../../../antlrcpp/ + +#TODO LDFLAGS += ? + +ALL_CXXFLAGS = $(CPPFLAGS) $(CXXFLAGS) +ALL_LDFLAGS = $(LDFLAGS) + +# Escote's files +SRCS = \ + AbstractPredicateTransition.cpp \ + ActionTransition.cpp \ + ArrayPredictionContext.cpp \ + ATNDeserializationOptions.cpp \ + ATNDeserializer.cpp \ + ATNState.cpp \ + ATNType.cpp \ + AtomTransition.cpp \ + BasicBlockStartState.cpp \ + BasicState.cpp \ + BlockEndState.cpp \ + BlockStartState.cpp \ + DecisionState.cpp \ + EmptyPredictionContext.cpp \ + EpsilonTransition.cpp \ + LexerATNConfig.cpp \ + LoopEndState.cpp +# Escote's TODO: LL1Analyzer.cpp LexerATNSimulator.cpp ATNSimulator.cpp \ + ATNSerializer.cpp ATNConfigSet.cpp ATNConfig.cpp \ + ATN.cpp + +# Alejandro's files +SRCS += \ + NotSetTransition.cpp \ + OrderedATNConfigSet.cpp \ + PlusBlockStartState.cpp \ + PlusLoopbackState.cpp \ + PredicateTransition.cpp \ + PredictionMode.cpp \ + RangeTransition.cpp \ + RuleStartState.cpp \ + RuleStopState.cpp \ + RuleTransition.cpp \ + SemanticContext.cpp \ + SetTransition.cpp \ + SingletonPredictionContext.cpp \ + StarBlockStartState.cpp \ + StarLoopbackState.cpp \ + StarLoopEntryState.cpp \ + TokensStartState.cpp \ + Transition.cpp \ + WildcardTransition.cpp +# Alejandro's TODO: PredictionContext.cpp PredictionContextCache.cpp \ + PrecedencePredicateTransition.cpp ParserATNSimulator.cpp + +OBJS = $(SRCS:.cpp=.o) + +all: $(OBJS) + +%.o: %.cpp + $(CXX) -c $(ALL_CXXFLAGS) $< -o $@ + +clean: + $(RM) $(OBJS) + |
