summaryrefslogtreecommitdiff
path: root/mcast/client
diff options
context:
space:
mode:
authorHolger Steinhaus <hsteinhaus@gmx.de>2015-09-11 18:22:20 +0200
committerHolger Steinhaus <hsteinhaus@gmx.de>2015-09-11 18:22:20 +0200
commitf01774accb4606de607d9597f40144d78eb62243 (patch)
treec2754ae05a1f2bdbb325c0d4bec3922570a543de /mcast/client
parent2baa295a6fa561d012785b36387ed07cf914cd8d (diff)
downloadvdr-plugin-mcli-f01774accb4606de607d9597f40144d78eb62243.tar.gz
vdr-plugin-mcli-f01774accb4606de607d9597f40144d78eb62243.tar.bz2
serveral Makefile fixes
- fixed build of mcli-shared exexutable - fixed dependecies for reliable parallel build
Diffstat (limited to 'mcast/client')
-rw-r--r--mcast/client/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/mcast/client/Makefile b/mcast/client/Makefile
index 1ea0844..64b6873 100644
--- a/mcast/client/Makefile
+++ b/mcast/client/Makefile
@@ -10,7 +10,7 @@ ifdef RBMINI
ARMEL=1
endif
-ARCH= $(shell $(CC) -dumpmachine)
+ARCH ?= $(shell $(CC) -dumpmachine)
APPLE_DARWIN = $(shell echo $(ARCH) | grep -q 'apple-darwin' && echo "1" || echo "0")
CYGWIN = $(shell echo $(ARCH) | grep -q 'cygwin' && echo "1" || echo "0")
MIPSEL = $(shell echo $(ARCH) | grep -q 'mipsel' && echo "1" || echo "0")
@@ -106,7 +106,7 @@ MCLI_SOBJS := $(MCLI_SOBJS) dvblo_handler.o input.o
endif
endif
-all: lib$(MCLI)
+all: lib$(MCLI) $(MCLI)-shared
static: $(MCLI)-static
@@ -119,7 +119,7 @@ $(DEPFILE): Makefile
-include $(DEPFILE)
-$(MCLI): $(MCLI_OBJS) $(MCLI_SOBJS)
+$(MCLI): $(MCLI_OBJS) $(MCLI_SOBJS) libmcli.so
$(CC) $(LDFLAGS) -o $@ $(MCLI_OBJS) $(MCLI_SOBJS) $(LDLIBS)
ifndef DEBUG
ifndef WIN32