From 153efa0077b1c1eceb191e7e5024874a0af61d8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 27 Jul 2014 18:10:49 +0200 Subject: [PATCH] playback/player: Add a simple Makefile for gst-play --- playback/player/gst-play/Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 playback/player/gst-play/Makefile diff --git a/playback/player/gst-play/Makefile b/playback/player/gst-play/Makefile new file mode 100644 index 0000000000..6044c42880 --- /dev/null +++ b/playback/player/gst-play/Makefile @@ -0,0 +1,21 @@ +CFLAGS ?= -Wall -O2 -g +PKGCONFIG ?= pkg-config +LIBS := $(shell $(PKGCONFIG) --libs --cflags gstreamer-1.0 gstreamer-video-1.0) -lm + +all: gst-play + +clean: + rm -f gst-play + +SOURCES = \ + gst-play.c \ + gst-play-kb.c \ + ../lib/gstplayer.c + +HEADERS = \ + gst-play-kb.h \ + ../lib/gstplayer.h + +gst-play: $(SOURCES) $(HEADERS) + $(CC) -o $@ $(SOURCES) $(CFLAGS) $(LIBS) -I../lib +