initial commit
This commit is contained in:
13
linux/libstrm/Makefile
Normal file
13
linux/libstrm/Makefile
Normal 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
|
||||
Reference in New Issue
Block a user