summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile.am57
-rw-r--r--src/Makefile.files50
2 files changed, 54 insertions, 53 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index e6328e1..fef2688 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,59 +1,10 @@
-AUTOMAKE_OPTIONS = subdir-objects
-
-SRC = nodes/base/cst.h \
- nodes/base/decl.h \
- nodes/base/expr.h \
- nodes/base/node.h \
- nodes/base/type.h \
- nodes/cst/integer_cst.h \
- nodes/decl/function_decl.h \
- nodes/decl/parm_decl.h \
- nodes/decl/result_decl.h \
- nodes/decl/type_decl.h \
- nodes/expr/return_expr.h \
- nodes/list/statement_list.h \
- nodes/list/tree_list.h \
- nodes/type/function_type.h \
- nodes/type/integer_type.h \
- nodes/type/pointer_type.h \
- nodes/type/void_type.h \
- nodes/identifier.h \
- parsers/generic.cpp \
- parsers/generic.h \
- parsers/identifier_node.cpp \
- parsers/base/decl.cpp \
- parsers/base/decl.h \
- parsers/base/expr.cpp \
- parsers/base/expr.h \
- parsers/base/type.cpp \
- parsers/base/type.h \
- parsers/cst/integer_cst.cpp \
- parsers/decl/function_decl.cpp \
- parsers/decl/parm_decl.cpp \
- parsers/decl/result_decl.cpp \
- parsers/decl/type_decl.cpp \
- parsers/expr/return_expr.cpp \
- parsers/list/statement_list.cpp \
- parsers/list/tree_list.cpp \
- parsers/type/function_type.cpp \
- parsers/type/integer_type.cpp \
- parsers/type/pointer_type.cpp \
- parsers/type/void_type.cpp \
- includes/nodeincludes.h \
- includes/nodeshandling.inc \
- includes/parserdefines.inc \
- includes/parserincludes.h \
- includes.h \
- localconsts.h \
- logger.cpp \
- logger.h \
- plugin.cpp \
- stringutils.cpp \
- stringutils.h
-
CC := gcc-5
CXX := g++-5
+AUTOMAKE_OPTIONS = subdir-objects
+
+include $(srcdir)/Makefile.files
+
# in future need remove -Wno-switch
SHARED_CXXFLAGS = -fPIC -fno-rtti -O2 -pipe -ffast-math -Wall -Wextra \
-std=gnu++1y -Wc++14-compat \
diff --git a/src/Makefile.files b/src/Makefile.files
new file mode 100644
index 0000000..d26d0c7
--- /dev/null
+++ b/src/Makefile.files
@@ -0,0 +1,50 @@
+SRC = nodes/base/cst.h \
+ nodes/base/decl.h \
+ nodes/base/expr.h \
+ nodes/base/node.h \
+ nodes/base/type.h \
+ nodes/cst/integer_cst.h \
+ nodes/decl/function_decl.h \
+ nodes/decl/parm_decl.h \
+ nodes/decl/result_decl.h \
+ nodes/decl/type_decl.h \
+ nodes/expr/return_expr.h \
+ nodes/list/statement_list.h \
+ nodes/list/tree_list.h \
+ nodes/type/function_type.h \
+ nodes/type/integer_type.h \
+ nodes/type/pointer_type.h \
+ nodes/type/void_type.h \
+ nodes/identifier.h \
+ parsers/generic.cpp \
+ parsers/generic.h \
+ parsers/identifier_node.cpp \
+ parsers/base/decl.cpp \
+ parsers/base/decl.h \
+ parsers/base/expr.cpp \
+ parsers/base/expr.h \
+ parsers/base/type.cpp \
+ parsers/base/type.h \
+ parsers/cst/integer_cst.cpp \
+ parsers/decl/function_decl.cpp \
+ parsers/decl/parm_decl.cpp \
+ parsers/decl/result_decl.cpp \
+ parsers/decl/type_decl.cpp \
+ parsers/expr/return_expr.cpp \
+ parsers/list/statement_list.cpp \
+ parsers/list/tree_list.cpp \
+ parsers/type/function_type.cpp \
+ parsers/type/integer_type.cpp \
+ parsers/type/pointer_type.cpp \
+ parsers/type/void_type.cpp \
+ includes/nodeincludes.h \
+ includes/nodeshandling.inc \
+ includes/parserdefines.inc \
+ includes/parserincludes.h \
+ includes.h \
+ localconsts.h \
+ logger.cpp \
+ logger.h \
+ plugin.cpp \
+ stringutils.cpp \
+ stringutils.h \ No newline at end of file