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:
ben
2007-09-11 09:09:18 +00:00
parent 8efdba0c21
commit 11762c3dab
3 changed files with 222 additions and 0 deletions

13
libfpga/Makefile Normal file
View 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.*