0ae8873d37
git-svn-id: svn+ssh://en.codiert.org/home/staff/ben/dev/misc.svn/projects/fpgafs@400 766a2236-cff9-0310-b0c0-a81a5f92509a
16 lines
295 B
Makefile
16 lines
295 B
Makefile
#/*********************************************
|
|
# * Benjamin Krill <ben@codiert.org>
|
|
# *********************************************/
|
|
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.*
|