blob: cc5fde3bed2456a4d1ae1bb1774b5ca38799ce3c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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
|