fpgafs/libfpga/Makefile
ben 11762c3dab 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
2007-09-11 09:09:18 +00:00

14 lines
162 B
Makefile

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.*