master
Slávek Banko 11 years ago
parent e3b50e3863
commit b5ab7c9680

2
configure vendored

@ -43,7 +43,7 @@ case $targetos in
echo LIBSUF=.so echo LIBSUF=.so
echo "CXXFLAGS+=-pthread -Wall -fPIC `mlt-config --cflags`" echo "CXXFLAGS+=-pthread -Wall -fPIC `mlt-config --cflags`"
echo "LIBFLAGS=-shared" echo "LIBFLAGS=-shared"
echo "LDFLAGS+=`mlt-config --libs` `mlt-config miracle --libs`" echo "LDFLAGS+=`mlt-config --libs` `mlt-config miracle --libs` `mlt-config valerie --libs`"
;; ;;
esac >> config.mak esac >> config.mak

@ -1,16 +1,17 @@
include ../config.mak include ../config.mak
CXXFLAGS+=-Wall -g `mlt-config --cflags` -I ../src CXXFLAGS+=-g -I ../src
LDFLAGS+=-L../src -lmlt++ -lmiracle -lvalerie `mlt-config --libs` -L/usr/trinity/lib LDFLAGS+=-L../src -lmlt++
CC=c++
all: play server all: play server
play: play.o play: play.o
$(CXX) -o $@ $< $(LDFLAGS)
play.o: play.cpp play.o: play.cpp
server: server.o server: server.o
$(CXX) -o $@ $< $(LDFLAGS)
server.o: server.cpp server.o: server.cpp

Loading…
Cancel
Save