diff options
author | lordjaxom <lordjaxom> | 2005-01-27 17:32:07 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2005-01-27 17:32:07 +0000 |
commit | 2c823c26e341dc67052467864e2299663c9a7b8f (patch) | |
tree | 12021a5ca8ca8349e39c28c9909e796bd456d068 | |
parent | 26ccaf1e7ead2457135f34321cc58c8b6f87a9ab (diff) | |
download | vdr-plugin-text2skin-2c823c26e341dc67052467864e2299663c9a7b8f.tar.gz vdr-plugin-text2skin-2c823c26e341dc67052467864e2299663c9a7b8f.tar.bz2 |
- fixed some issues when using buggy compilers
- implemented BENCH make option
-rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -13,7 +13,7 @@ HAVE_FREETYPE=1 # DO NOT EDIT BELOW THIS LINE UNLESS YOU KNOW WHAT YOU'RE DOING # ------------------------------------------------------------- # -# $Id: Makefile,v 1.3 2005/01/05 19:33:27 lordjaxom Exp $ +# $Id: Makefile,v 1.4 2005/01/27 17:32:07 lordjaxom Exp $ # # The official name of this plugin. @@ -89,7 +89,10 @@ ifdef DEBUG CXXFLAGS += -g -fno-inline DEFINES += -DDEBUG else - CXXFLAGS += -O2 + CXXFLAGS += -O2 -g +ifdef BENCH + DEFINES += -DBENCH +endif endif INCLUDES += -I$(VDRDIR)/include -I$(DVBDIR)/linux/include -I$(DVBDIR)/include -I. @@ -117,6 +120,9 @@ all: libvdr-$(PLUGIN).so libvdr-$(PLUGIN).so: $(OBJS) $(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -o $@ @cp $@ $(LIBDIR)/$@.$(VDRVERSION) +ifndef DEBUG + strip $(LIBDIR)/$@.$(VDRVERSION) +endif dist: clean @-rm -rf $(TMPDIR)/$(ARCHIVE) |