| 1 |
|
| 2 |
CXXFLAGS += -g -std=c++0x -Wall #-Wextra |
| 3 |
CXXFLAGS += -I. -I../ -I../misc/ -I../tree/ -I../dfa/ \ |
| 4 |
-I../../../../../antlrcpp/ |
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
ALL_CXXFLAGS = $(CPPFLAGS) $(CXXFLAGS) |
| 9 |
ALL_LDFLAGS = $(LDFLAGS) |
| 10 |
|
| 11 |
|
| 12 |
SRCS = \ |
| 13 |
AbstractPredicateTransition.cpp \ |
| 14 |
ActionTransition.cpp \ |
| 15 |
ArrayPredictionContext.cpp \ |
| 16 |
ATNDeserializationOptions.cpp \ |
| 17 |
ATNDeserializer.cpp \ |
| 18 |
ATNState.cpp \ |
| 19 |
ATNType.cpp \ |
| 20 |
AtomTransition.cpp \ |
| 21 |
BasicBlockStartState.cpp \ |
| 22 |
BasicState.cpp \ |
| 23 |
BlockEndState.cpp \ |
| 24 |
BlockStartState.cpp \ |
| 25 |
DecisionState.cpp \ |
| 26 |
EmptyPredictionContext.cpp \ |
| 27 |
EpsilonTransition.cpp \ |
| 28 |
LexerATNConfig.cpp \ |
| 29 |
LoopEndState.cpp |
| 30 |
|
| 31 |
ATNSerializer.cpp ATNConfigSet.cpp ATNConfig.cpp \ |
| 32 |
ATN.cpp |
| 33 |
|
| 34 |
|
| 35 |
SRCS += \ |
| 36 |
NotSetTransition.cpp \ |
| 37 |
OrderedATNConfigSet.cpp \ |
| 38 |
PlusBlockStartState.cpp \ |
| 39 |
PlusLoopbackState.cpp \ |
| 40 |
PredicateTransition.cpp \ |
| 41 |
PredictionMode.cpp \ |
| 42 |
RangeTransition.cpp \ |
| 43 |
RuleStartState.cpp \ |
| 44 |
RuleStopState.cpp \ |
| 45 |
RuleTransition.cpp \ |
| 46 |
SemanticContext.cpp \ |
| 47 |
SetTransition.cpp \ |
| 48 |
SingletonPredictionContext.cpp \ |
| 49 |
StarBlockStartState.cpp \ |
| 50 |
StarLoopbackState.cpp \ |
| 51 |
StarLoopEntryState.cpp \ |
| 52 |
TokensStartState.cpp \ |
| 53 |
Transition.cpp \ |
| 54 |
WildcardTransition.cpp |
| 55 |
|
| 56 |
PrecedencePredicateTransition.cpp ParserATNSimulator.cpp |
| 57 |
|
| 58 |
OBJS = $(SRCS:.cpp=.o) |
| 59 |
|
| 60 |
all: $(OBJS) |
| 61 |
|
| 62 |
%.o: %.cpp |
| 63 |
$(CXX) -c $(ALL_CXXFLAGS) $< -o $@ |
| 64 |
|
| 65 |
clean: |
| 66 |
$(RM) $(OBJS) |
| 67 |
|