summaryrefslogtreecommitdiff
path: root/tiger-compiler/tests/Makefile.am
diff options
context:
space:
mode:
authorMartial Simon <msimon_fr@hotmail.com>2025-09-15 01:07:58 +0200
committerMartial Simon <msimon_fr@hotmail.com>2025-09-15 01:07:58 +0200
commit967be9e750221ab2ab783f95df79bb26d290a45e (patch)
tree6802900a5e975f9f68b169f0f503f040056d6952 /tiger-compiler/tests/Makefile.am
add: added projectsHEADmain
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