Add Makefile.am for examples
This commit is contained in:
parent
8d561cd94e
commit
fc83f10c85
@ -114,5 +114,6 @@ AC_CONFIG_FILES([
|
||||
test/bin/Makefile
|
||||
test/suites/Makefile
|
||||
test/suites/api/Makefile
|
||||
examples/Makefile
|
||||
])
|
||||
AC_OUTPUT
|
||||
|
9
examples/Makefile.am
Normal file
9
examples/Makefile.am
Normal file
@ -0,0 +1,9 @@
|
||||
EXTRA_PROGRAMS = simple_parse
|
||||
|
||||
simple_parse_SOURCES = simple_parse.c
|
||||
|
||||
AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src
|
||||
LDFLAGS = -static # for easier running
|
||||
LDADD = $(top_builddir)/src/libjansson.la
|
||||
|
||||
all: simple_parse
|
10
examples/README.rst
Normal file
10
examples/README.rst
Normal file
@ -0,0 +1,10 @@
|
||||
Jansson examples
|
||||
================
|
||||
|
||||
This directory contains simple example programs that use Jansson.
|
||||
|
||||
You can compile the examples by running the configure script normally
|
||||
in Jansson's top directory, and then:
|
||||
|
||||
cd examples
|
||||
make
|
Loading…
Reference in New Issue
Block a user