summaryrefslogtreecommitdiff
path: root/tiger-compiler/tests/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'tiger-compiler/tests/Makefile.am')
-rw-r--r--tiger-compiler/tests/Makefile.am23
1 files changed, 23 insertions, 0 deletions
diff --git a/tiger-compiler/tests/Makefile.am b/tiger-compiler/tests/Makefile.am
new file mode 100644
index 0000000..9af3f2b
--- /dev/null
+++ b/tiger-compiler/tests/Makefile.am
@@ -0,0 +1,23 @@
+check_PROGRAMS = check_unit
+
+check_unit_CPPFLAGS = \
+ -I$(top_srcdir)/lib \
+ -I$(top_srcdir)/src
+
+check_unit_CXXFLAGS = \
+ -Wall \
+ -Wextra \
+ -pedantic \
+ -std=c++20
+
+check_unit_LDFLAGS = \
+ -lcriterion
+
+check_unit_SOURCES =
+
+include unit/local.am
+
+check_unit_LDADD = $(top_srcdir)/src/libtc.la
+
+check-local:
+ ./check_unit