2007-09-12 21:07:32 +02:00
|
|
|
#/*********************************************
|
|
|
|
# * Benjamin Krill <ben@codiert.org>
|
|
|
|
# *********************************************/
|
2007-09-11 11:09:18 +02:00
|
|
|
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.*
|