diff options
author | Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> | 2017-10-05 04:53:26 +0300 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2017-10-16 21:51:31 +0300 |
commit | 53b4c4aed8cc6e9caf379725e9ed1d2d36f04f10 (patch) | |
tree | 1ed912e588ea356670d7d90c15c59fe481b931b5 /example/switch/Makefile.am | |
parent | 77f9451a2acf4465e6a64f24b1dfdca56787f0ce (diff) |
example: simplify Makefile.ams
- Drop unused $(srcdir)
- Drop unused $(EXEEXT)
- Drop unused dist_ prefixes
- Merge noinst_HEADERS into proper _SOURCES
- Merge -static into AM_LDFLAGS
- Drop extra _CFLAGS adding -I which is already present on include path
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'example/switch/Makefile.am')
-rw-r--r-- | example/switch/Makefile.am | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/example/switch/Makefile.am b/example/switch/Makefile.am index 4134bcf3d..2fb21bc41 100644 --- a/example/switch/Makefile.am +++ b/example/switch/Makefile.am @@ -1,13 +1,8 @@ include $(top_srcdir)/example/Makefile.inc -bin_PROGRAMS = odp_switch$(EXEEXT) -odp_switch_LDFLAGS = $(AM_LDFLAGS) -static -odp_switch_CFLAGS = $(AM_CFLAGS) -I${top_srcdir}/example +bin_PROGRAMS = odp_switch -noinst_HEADERS = \ - $(top_srcdir)/example/example_debug.h - -dist_odp_switch_SOURCES = odp_switch.c +odp_switch_SOURCES = odp_switch.c if test_example if HAVE_PCAP |