Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 23 lines (13 sloc) 0.528 kb
024ec77 @martin-seomoz Added MakeSimple
martin-seomoz authored
1
2 SRC = $(wildcard Json/*.cpp) $(wildcard Serialize/*.cpp)
3 OBJ = $(patsubst %.cpp,%.o,$(SRC))
4
5 CXXFLAGS += -Wno-c++11-extensions
6 CPPFLAGS += -I. -Ibuild/include -Ibuild/include3rd
7
8 serialize.a: $(OBJ)
9 $(AR) $(ARFLAGS) $@ $(OBJ)
10
11 Json/ParserRecursive.cpp: Json/ParserShiftReduce.tab.cpp
12
13 %.o: %.cpp
14 $(CXX) -c $^ -o $@ $(CPPFLAGS) $(CXXFLAGS)
15
16 %.tab.cpp: %.y
17 $(YACC) -o $@ -d $<
18
19 %.lex.cpp: %.l
20 $(LEX) -t $< | sed -e 's/<stdout>/$*.lex.cpp/' -e 's/extern "C" int isatty/\/\/ Removed extern "C" int isatty/' > $@
21
22
Something went wrong with that request. Please try again.