Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sffe/Makefile.in
blob: 6d1f56521ae5fd3fddfcdf14b915a7cf6f540584 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
CC     = @CC@
CFLAGS = @CFLAGS@
LIBS   = @LIBS@
LFLAGS = @LDFLAGS@
AR     = @AR@
RANLIB = @RANLIB@

SRCS =  sffe.c \
	sffe_cmplx_asm.c \
	sffe_cmplx_gsl.c 

OBJS = $(SRCS:.c=.o) @ASM_CMPLX_O@

TLIB = ../lib/libsffe.a

all:	$(TLIB)

asm/cmplx.o: asm/cmplx.asm
	nasm -f @CMPLX_O_TARGET@ asm/cmplx.asm -oasm/cmplx.o

$(TLIB):$(OBJS)
	rm -f $@
	$(AR) rc $@ $(OBJS) @ASM_CMPLX_O@
	$(RANLIB) $@ 

keywords.c: keywords.gperf
	gperf -t -p -D -C -a keywords.gperf > keywords.c

clean:
	rm -f $(TLIB)
	rm -f *.[oas] asm/*.o
	rm -f *~
	rm -f core 

distclean:clean
	rm  Makefile