summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2013-01-05 19:49:59 +0100
committerJohns <johns98@gmx.net>2013-01-05 19:49:59 +0100
commitd4702b9a9ec1774f546e91958f0752c0c45a632c (patch)
tree359a70f8e12d3cb04443106663b8a280f30cf84c /Makefile
parent6a3a560857dfac4e2a34ae17fd54247b32559d64 (diff)
downloadvdr-plugin-softhddevice-d4702b9a9ec1774f546e91958f0752c0c45a632c.tar.gz
vdr-plugin-softhddevice-d4702b9a9ec1774f546e91958f0752c0c45a632c.tar.bz2
Include softhddevice.cpp in indent target.
Fix constconst after indent. Hello GNU who many years until it will be fixed?
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index a36891a..ff833f9 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ GIT_REV = $(shell git describe --always 2>/dev/null)
CONFIG := #-DDEBUG #-DOSD_DEBUG
CONFIG += -DAV_INFO -DAV_INFO_TIME=3000 # debug a/v sync
-#CONFIG += -DUSE_PIP # too experimental PIP support
+CONFIG += -DUSE_PIP # too experimental PIP support
#CONFIG += -DHAVE_PTHREAD_NAME # supports new pthread_setname_np
#CONFIG += -DNO_TS_AUDIO # disable ts audio parser
#CONFIG += -DUSE_TS_VIDEO # build new ts video parser
@@ -35,8 +35,8 @@ CC ?= gcc
CXX ?= g++
CFLAGS ?= -g -O2 -W -Wall -Wextra -Winit-self \
-Wdeclaration-after-statement \
- -ftree-vectorize -msse3 -flax-vector-conversions #-fPIC
-CXXFLAGS ?= -g -O2 -W -Wall -Wextra -Werror=overloaded-virtual #-fPIC
+ -ftree-vectorize -msse3 -flax-vector-conversions -fPIC
+CXXFLAGS ?= -g -O2 -W -Wall -Wextra -Werror=overloaded-virtual -fPIC
### The directory environment:
@@ -172,8 +172,10 @@ install: libvdr-$(PLUGIN).so
HDRS= $(wildcard *.h)
indent:
- for i in $(wildcard $(OBJS:.o=.c)) $(HDRS); do \
- indent $$i; unexpand -a $$i > $$i.up; mv $$i.up $$i; \
+ for i in $(SRCS) $(HDRS); do \
+ indent $$i; \
+ unexpand -a $$i | sed -e s/constconst/const/ > $$i.up; \
+ mv $$i.up $$i; \
done
video_test: video.c Makefile