mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
same Makefile changes for test.ts
This commit is contained in:
parent
d627e6995f
commit
817a464f4a
@ -1,4 +1,4 @@
|
|||||||
TARGETS = cit citin flashprog modt ddtest setmod ddflash setmod2 pls setmod3 modconfig ddinfo getiq modtest
|
TARGETS = cit citin flashprog modt ddtest setmod ddflash setmod2 pls setmod3 modconfig ddinfo getiq modtest test.ts
|
||||||
|
|
||||||
all: $(TARGETS)
|
all: $(TARGETS)
|
||||||
|
|
||||||
@ -10,7 +10,7 @@ modtest: modtest.c
|
|||||||
|
|
||||||
test.ts:
|
test.ts:
|
||||||
ifndef FFMPEG
|
ifndef FFMPEG
|
||||||
$(error "ffmpeg is not available please install to create test stream")
|
$(error "ffmpeg is not available please install to create test.ts")
|
||||||
endif
|
endif
|
||||||
ffmpeg -f lavfi -i testsrc=duration=10:size=1280x720:rate=30 \
|
ffmpeg -f lavfi -i testsrc=duration=10:size=1280x720:rate=30 \
|
||||||
-f lavfi -i sine=f=440:b=4 -shortest -metadata \
|
-f lavfi -i sine=f=440:b=4 -shortest -metadata \
|
||||||
@ -42,7 +42,7 @@ modconfig: modconfig.c
|
|||||||
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
for f in $(TARGETS) *.o *~ test.ts; do \
|
for f in $(TARGETS) *.o *~ ; do \
|
||||||
if [ -e "$$f" ]; then \
|
if [ -e "$$f" ]; then \
|
||||||
rm "$$f" || exit 1; \
|
rm "$$f" || exit 1; \
|
||||||
fi \
|
fi \
|
||||||
|
Loading…
Reference in New Issue
Block a user