mirror of
https://github.com/BELABOX/belacoder.git
synced 2026-07-04 12:06:41 +00:00
16 lines
435 B
Makefile
16 lines
435 B
Makefile
VERSION=$(shell git rev-parse --short HEAD)
|
|
CFLAGS=`pkg-config gstreamer-1.0 gstreamer-app-1.0 srt --cflags` -O2 -Wall -DVERSION=\"$(VERSION)\"
|
|
LDFLAGS=`pkg-config gstreamer-1.0 gstreamer-app-1.0 srt --libs` -ldl
|
|
|
|
all: submodule belacoder
|
|
|
|
submodule:
|
|
git submodule init
|
|
git submodule update
|
|
|
|
belacoder: belacoder.o camlink_workaround/camlink.o
|
|
$(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS)
|
|
|
|
clean:
|
|
rm -f belacoder *.o camlink_workaround/*.o
|