11762c3dab
git-svn-id: svn+ssh://en.codiert.org/home/staff/ben/dev/misc.svn/projects/fpgafs@393 766a2236-cff9-0310-b0c0-a81a5f92509a
14 lines
162 B
Makefile
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.*
|