mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-01 22:21:13 +00:00
playback/player: Add a simple Makefile for gst-play
This commit is contained in:
parent
5c289ec20a
commit
153efa0077
1 changed files with 21 additions and 0 deletions
21
playback/player/gst-play/Makefile
Normal file
21
playback/player/gst-play/Makefile
Normal file
|
@ -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
|
||||
|
Loading…
Reference in a new issue