summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Dummer <martin.dummer@gmx.net>2012-11-05 07:00:24 +0100
committerMartin Dummer <martin.dummer@gmx.net>2012-11-05 07:00:24 +0100
commit9f20f94efc7c87d8e6b81d17c40dc3c2c04cdfa9 (patch)
tree5adeddc7a709feebbb655df4fcc2e49921fc8121
parent4ffb6e9e4364a2448c8bcb6d410ab2a64c5e6531 (diff)
downloadvdr-plugin-infosatepg-9f20f94efc7c87d8e6b81d17c40dc3c2c04cdfa9.tar.gz
vdr-plugin-infosatepg-9f20f94efc7c87d8e6b81d17c40dc3c2c04cdfa9.tar.bz2
Makefile: merged changes from vdr plugin sample Makefile
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2ce3c50..a70724b 100644
--- a/Makefile
+++ b/Makefile
@@ -22,9 +22,9 @@ CXXFLAGS ?= -fPIC -g -O2 -Wall -Wextra -Woverloaded-virtual -Wno-parentheses
### The directory environment:
-VDRDIR = ../../..
-LIBDIR = ../../lib
-TMPDIR = /tmp
+VDRDIR ?= ../../..
+LIBDIR ?= ../../lib
+TMPDIR ?= /tmp
### Allow user defined options to overwrite defaults:
@@ -96,7 +96,7 @@ i18n: $(I18Nmsgs) $(I18Npot)
### Targets:
libvdr-$(PLUGIN).so: $(OBJS)
- $(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
dist: clean