fpgafs/libfpga/Makefile

14 lines
162 B
Makefile
Raw Normal View History

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