blob: cc5fde3bed2456a4d1ae1bb1774b5ca38799ce3c (
plain) (
tree)
|
|
acinerella: acinerella.c acinerella.h
gcc -c acinerella.c -I /usr/local/include
ifeq "$(OSTYPE)" "linux"
gcc -shared -o libacinerella.so acinerella.o -lavformat -lavcodec -lavutil -lm -lswscale
strip libacinerella.so
else
gcc -shared -o acinerella.dll -fPIC acinerella.o -lavformat -lavcodec -lavutil -lm -lswscale -lws2_32
strip acinerella.dll
endif
test: test.c acinerella.h
gcc -o test test.c -L. -lacinerella
|