From 0e1be2a63f90e8bc73024dc333edcbd3eb4cb1e1 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Fri, 23 Mar 2018 12:10:26 +0530 Subject: [PATCH] Add Makefiles for all C demos --- webrtc/multiparty-sendrecv/gst/Makefile | 6 ++++++ webrtc/sendrecv/gst/Makefile | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 webrtc/multiparty-sendrecv/gst/Makefile create mode 100644 webrtc/sendrecv/gst/Makefile diff --git a/webrtc/multiparty-sendrecv/gst/Makefile b/webrtc/multiparty-sendrecv/gst/Makefile new file mode 100644 index 0000000000..ee1fef51e4 --- /dev/null +++ b/webrtc/multiparty-sendrecv/gst/Makefile @@ -0,0 +1,6 @@ +CC := gcc +LIBS := $(shell pkg-config --libs --cflags gstreamer-webrtc-1.0 gstreamer-sdp-1.0 libsoup-2.4 json-glib-1.0) +CFLAGS := -O0 -ggdb -Wall -fno-omit-frame-pointer + +mp-webrtc-sendrecv: mp-webrtc-sendrecv.c + "$(CC)" $(CFLAGS) $^ $(LIBS) -o $@ diff --git a/webrtc/sendrecv/gst/Makefile b/webrtc/sendrecv/gst/Makefile new file mode 100644 index 0000000000..9bce613729 --- /dev/null +++ b/webrtc/sendrecv/gst/Makefile @@ -0,0 +1,6 @@ +CC := gcc +LIBS := $(shell pkg-config --libs --cflags gstreamer-webrtc-1.0 gstreamer-sdp-1.0 libsoup-2.4 json-glib-1.0) +CFLAGS := -O0 -ggdb -Wall -fno-omit-frame-pointer + +webrtc-sendrecv: webrtc-sendrecv.c + "$(CC)" $(CFLAGS) $^ $(LIBS) -o $@