add userspace library
git-svn-id: svn+ssh://en.codiert.org/home/staff/ben/dev/misc.svn/projects/fpgafs@393 766a2236-cff9-0310-b0c0-a81a5f92509a
This commit is contained in:
13
libfpga/Makefile
Normal file
13
libfpga/Makefile
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
CFLAGS=-c -fPIC
|
||||
|
||||
CC = gcc
|
||||
|
||||
SRCS = libfpga.c
|
||||
OBJS = $(SRCS:%.c=%.o)
|
||||
|
||||
libfpga: ${OBJS}
|
||||
${CC} -shared -Wl,-soname,$@.so.1 -o $@.so.1.0.1 $^
|
||||
|
||||
clean:
|
||||
rm *.o *.so.*
|
||||
Reference in New Issue
Block a user