iperf3-tls/examples/Makefile.am
Bruce A. Mah 8de51b589f
Portability fixes for Solaris Sun Studio and MacOS.
Only do -Wall by default if on GCC (or something that looks like
GCC, such as clang/llvm).

Turn on -Werror so we can get some better error-checking, but
we also need -Wno-deprecated-declarations at least for MacOS,
because daemon(3) is deprecated starting with MacOS 10.5.

Fixes #174 (I think).

Submitted by:	@marksolaris
2014-05-19 15:02:02 -07:00

13 lines
234 B
Makefile

noinst_PROGRAMS = mic mis # Build, but don't install
mic_SOURCES = mic.c
mic_CFLAGS = -g
mic_LDADD = ../src/libiperf.la
mic_LDFLAGS = -g
mis_SOURCES = mis.c
mis_CFLAGS = -g
mis_LDADD = ../src/libiperf.la
mis_LDFLAGS = -g