From 52d346a66e873a5f03b81f75d42d339e1f207383 Mon Sep 17 00:00:00 2001 From: Luca Date: Sun, 20 Sep 2020 01:04:14 +0200 Subject: [PATCH] Add Makefiles --- Makefile | 13 +++++++++++++ nginx-rtmp/Makefile | 14 ++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 Makefile create mode 100644 nginx-rtmp/Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c61e02f --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +.PHONY: all clean nginx-rtmp stream-playout + +all: nginx-rtmp stream-playout + +clean: + $(MAKE) -C nginx-rtmp clean + $(MAKE) -C stream-playout clean + +nginx-rtmp: + $(MAKE) -C nginx-rtmp + +stream-playout: + $(MAKE) -C stream-playout diff --git a/nginx-rtmp/Makefile b/nginx-rtmp/Makefile new file mode 100644 index 0000000..2abd56e --- /dev/null +++ b/nginx-rtmp/Makefile @@ -0,0 +1,14 @@ +DOCKER = docker + +image = nginx-rtmp +tag = alpine3.12 + +.PHONY: all clean $(image) + +all: $(image) + +clean: + $(DOCKER) image rm $(image):$(tag) + +$(image): Dockerfile docker-entrypoint.sh rtmp.conf + $(DOCKER) build -t $(image):$(tag) .