Skip to content

Commit

Permalink
automake / libtool support for programs in the examples/ subdirectory.
Browse files Browse the repository at this point in the history
Addresses part of Issue esnet#152.
  • Loading branch information
bmah888 committed Mar 20, 2014
1 parent 082157b commit ad319fa
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 20 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SUBDIRS = src
SUBDIRS = src examples
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ exit 1
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST

AC_OUTPUT([Makefile src/Makefile])
AC_OUTPUT([Makefile src/Makefile examples/Makefile])
18 changes: 0 additions & 18 deletions examples/Makefile

This file was deleted.

12 changes: 12 additions & 0 deletions examples/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
noinst_PROGRAMS = mic mis # Build, but don't install

mic_SOURCES = mic.c
mic_CFLAGS = -g -Wall
mic_LDADD = ../src/libiperf.la
mic_LDFLAGS = -g

mis_SOURCES = mis.c
mis_CFLAGS = -g -Wall
mis_LDADD = ../src/libiperf.la
mis_LDFLAGS = -g

0 comments on commit ad319fa

Please sign in to comment.