summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJohnny Richard <johnny@johnnyrichard.com>2024-10-30 22:58:03 +0100
committerJohnny Richard <johnny@johnnyrichard.com>2025-12-14 09:53:52 +0100
commit10bb8a05088f1d3bb24f7167f609b5f6fb0ba026 (patch)
tree7a4b3f69a461301c45204ed856b61f92a7d42233 /Makefile.am
bootstrap projectHEADmaster
Signed-off-by: Johnny Richard <johnny@johnnyrichard.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am37
1 files changed, 37 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..a65100e
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,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