initial commit

This commit is contained in:
2013-10-02 10:43:54 +02:00
commit f3e562f835
92 changed files with 7400 additions and 0 deletions

13
linux/libstrm/Makefile Normal file
View File

@@ -0,0 +1,13 @@
CC = gcc
CFLAGS=-Wall -Werror -O2 -I. -c -fPIC
SRCS = usb2strm.c
OBJS = $(SRCS:%.c=%.o)
libstrm: ${OBJS}
${CC} -shared -Wl,-soname,$@.so.1 -o $@.so.1.0.1 $^ -lusb
@if [ ! -e $@.so ]; then ln -s $@.so.1.0.1 $@.so; fi
@if [ ! -e $@.so.1 ]; then ln -s $@.so.1.0.1 $@.so.1; fi
clean:
rm -f *.o *.so.* *.so