-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.mk
41 lines (31 loc) · 1.16 KB
/
config.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
CXX = g++
DEPS_BIN = g++
DEPSFLAGS = -I$(HOME)/.local/include
CXXFLAGS = -g -std=c++1y -Wall -Wextra -I$(HOME)/.local/include
LDFLAGS = -g -Wall -Wextra -L$(HOME)/.local/lib
LDLIBS = -llexer
AR = ar
ARFLAGS = rc
MKDIR = mkdir
MKDIRFLAGS = -p
PREFIX = ~/.local/
BIN_DIR = bin/
INCLUDE_DIR = include/
LIB_DIR = lib/
PKG_NAME = parser
SOURCES = src/pgtool.cpp src/regex/regex.cpp src/regex/regexparser.cpp \
test/cf_grammar.cpp test/lr_parser.cpp test/parse_input.cpp test/parse_input_to_tree.cpp \
test/grammar_experiment.cpp
HEADERS = include/parser/parser.hpp \
include/parser/parser/cf_grammar.hpp \
include/parser/parser/lr_parser.hpp \
include/parser/parser/parse_input.hpp
BIN = bin/test_cf_grammar bin/test_lr_parser bin/test_parse_input bin/test_parse_input_to_tree bin/grammar_experiment
bin/pgtool: build/src/pgtool.o build/src/regex/regex.o build/src/regex/regexparser.o
bin/test_cf_grammar: build/test/cf_grammar.o
bin/test_lr_parser: build/test/lr_parser.o
bin/test_parse_input: build/test/parse_input.o
bin/test_parse_input_to_tree: build/test/parse_input_to_tree.o
bin/grammar_experiment: build/test/grammar_experiment.o
LIB =
#lib/...: ...