Commit f6126887 authored by Georgi Chorbadzhiyski's avatar Georgi Chorbadzhiyski

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.
parent 5501baa9
# $Id$ # $Id$
CFLAGS = -Wall -O2 -g CFLAGS = -Wall -O2 -g
CFLAGS_LOCAL = -Wall -O2 -g -I. -I../..
LDFLAGS = LDFLAGS =
OBJ = dvb_print_si dvb_ecmg dvb_ecmg_test mpeg_print_pcr rtp_check_seqnum OBJ = dvb_print_si dvb_ecmg dvb_ecmg_test mpeg_print_pcr rtp_check_seqnum
...@@ -9,5 +10,8 @@ all: $(OBJ) ...@@ -9,5 +10,8 @@ all: $(OBJ)
%: %.c %: %.c
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
local: CFLAGS = $(CFLAGS_LOCAL)
local: all
clean: clean:
-rm $(OBJ) -rm $(OBJ)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment