From 2c823c26e341dc67052467864e2299663c9a7b8f Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Thu, 27 Jan 2005 17:32:07 +0000 Subject: - fixed some issues when using buggy compilers - implemented BENCH make option --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 96aab1c..a06aa12 100644 --- a/Makefile +++ b/Makefile @@ -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) -- cgit v1.2.3