summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: a65100e021f4e854493682d7d0e0f283733eea28 (plain)
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
AM_CPPFLAGS = -I$(top_srcdir)/include

# binaries settings.
bin_PROGRAMS = obe
obe_SOURCES = src/obe.c \
			  src/ir.c \
			  src/arena.c \
			  src/array.c \
			  src/utils.c \
			  src/lexer.c \
			  src/parser.c \
			  src/string.c \
			  src/x86_64/codegen.c

info_TEXINFOS = docs/info/obe.texi
man1_MANS = obe.1

dist_man_MANS = obe.1
dist_doc_DATA = README

EXTRA_DIST = \
			 include/obe/arena.h \
			 include/obe/array.h \
			 include/obe/ir.h \
			 include/obe/lexer.h \
			 include/obe/parser.h \
			 include/obe/string_view.h \
			 include/obe/utils.h \
			 include/obe/x86_64/codegen.h

CLEANFILES = obe.1

obe.1: $(srcdir)/src/obe.c
	@-printf "  HELP2MAN %s\n" '$@'
	@-$(HELP2MAN) --output=$@ --name='olang backend' $(builddir)/obe

SUBDIRS = tests