commit 15bfe1f9f184e17c5917dfb6dc4a83e5624cc574
parent e32ac5552d60190e0ae14b6b79fb7bf10c713e90
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 5 Jun 2014 16:34:54 +0200
small cleanup
makes btpd version compatible with git version aswell.
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat:
2 files changed, 1 insertion(+), 12 deletions(-)
diff --git a/btpd/btpd.mk b/btpd/btpd.mk
@@ -22,15 +22,7 @@ cli_btinfo_OBJ = cli/btinfo.o
cli_btinfo_CFLAGS = -I./cli $libmisc_a_CFLAGS
cli_btinfo_LDFLAGS = -L. $libmisc_a_LDFLAGS
-cli_btcli_OBJ = \
- cli/btcli.o \
- cli/add.o \
- cli/del.o \
- cli/list.o \
- cli/kill.o \
- cli/start.o \
- cli/stop.o \
- cli/stat.o
+cli_btcli_OBJ = `{ls cli/*.c | sed 's/.$/o/' | grep -v 'btinfo'}
cli_btcli_CFLAGS = -I./cli $libmisc_a_CFLAGS
cli_btcli_LDFLAGS = -L. $libmisc_a_LDFLAGS
diff --git a/libmad/libmad.mk b/libmad/libmad.mk
@@ -3,9 +3,6 @@ TARG = libmad
<$mkbuild/mk.common-noinst
libmad:QV:
- #
-# export CFLAGS="$CFLAGS $DEPS_CFLAGS"
-# export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS"
CC="$CC" ./configure \
--prefix="$prefix" \
--mandir="$ROOT/share/man" \