From f61268879074f7e34bad85f721014b2af1058c48 Mon Sep 17 00:00:00 2001 From: Georgi Chorbadzhiyski Date: Fri, 9 Sep 2011 21:48:35 +0300 Subject: [PATCH] examples: Add "make local" for direct build against parent biTStream. This patch adds "make local" target in examples/Makefile. Using this target examples will be build using biTStream in their parent directory (not the system wide install). This target simplifies biTSream development and testing. --- examples/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/Makefile b/examples/Makefile index 0965553..84d2c6c 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,6 +1,7 @@ # $Id$ CFLAGS = -Wall -O2 -g +CFLAGS_LOCAL = -Wall -O2 -g -I. -I../.. LDFLAGS = OBJ = dvb_print_si dvb_ecmg dvb_ecmg_test mpeg_print_pcr rtp_check_seqnum @@ -9,5 +10,8 @@ all: $(OBJ) %: %.c $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< +local: CFLAGS = $(CFLAGS_LOCAL) +local: all + clean: -rm $(OBJ)