fpgafs/libfpga/Makefile

16 lines
295 B
Makefile
Raw Normal View History

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