summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-06 22:40:41 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-06 22:40:41 +0300
commitaacb9b5f87bdaf06250df55935ff9cf1c5ba1f60 (patch)
tree49a1c2b9ab9387bfcefe1c6b5c50e68fb1f44224
parent71078446532709a3d2ddfaa253cc46fd835df4a7 (diff)
downloadparanucker-aacb9b5f87bdaf06250df55935ff9cf1c5ba1f60.tar.gz
paranucker-aacb9b5f87bdaf06250df55935ff9cf1c5ba1f60.tar.bz2
paranucker-aacb9b5f87bdaf06250df55935ff9cf1c5ba1f60.tar.xz
paranucker-aacb9b5f87bdaf06250df55935ff9cf1c5ba1f60.zip
Move files list from Makefile.am into separate file.
-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