From 10bb8a05088f1d3bb24f7167f609b5f6fb0ba026 Mon Sep 17 00:00:00 2001 From: Johnny Richard Date: Wed, 30 Oct 2024 22:58:03 +0100 Subject: bootstrap project Signed-off-by: Johnny Richard --- Makefile.am | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Makefile.am (limited to 'Makefile.am') 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 -- cgit v1.2.3