summaryrefslogtreecommitdiff
path: root/sample/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'sample/Makefile.am')
-rw-r--r--sample/Makefile.am25
1 files changed, 25 insertions, 0 deletions
diff --git a/sample/Makefile.am b/sample/Makefile.am
new file mode 100644
index 0000000..af33057
--- /dev/null
+++ b/sample/Makefile.am
@@ -0,0 +1,25 @@
+noinst_PROGRAMS = encode listcap names posix simple sql syntax crnl
+
+libname = $(top_builddir)/libonig.la
+LDADD = $(libname)
+INCLUDES = -I$(top_srcdir) -I$(includedir)
+
+encode_SOURCES = encode.c
+listcap_SOURCES = listcap.c
+names_SOURCES = names.c
+posix_SOURCES = posix.c
+simple_SOURCES = simple.c
+sql_SOURCES = sql.c
+syntax_SOURCES = syntax.c
+
+
+sampledir = $(top_builddir)/sample
+
+test: encode listcap names posix simple sql syntax
+ @$(sampledir)/encode
+ @$(sampledir)/listcap
+ @$(sampledir)/names
+ @$(sampledir)/posix
+ @$(sampledir)/simple
+ @$(sampledir)/sql
+ @$(sampledir)/syntax