From 5e4a32240e9ed9cb03ef51d2344ec80c615489cb Mon Sep 17 00:00:00 2001 From: Anthony Blake Date: Wed, 29 Aug 2012 18:08:30 +1200 Subject: SSE LEAF EE works --- src/Makefile.am | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 84265d6..0b0791e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,20 +1,12 @@ -OBJLIBS = libffts.a -HDRS = cp_sse.h patterns.h macros.h neon_float.h codegen.h neon.h -FILES = cp_sse.c patterns.c codegen.c neon.s -OBJS = cp_sse.o patterns.o codegen.o neon.o -all: $(OBJLIBS) +lib_LTLIBRARIES = libffts.la -%.o: %.c $(HDRS) - $(CC) $(CFLAGS) -c -o $@ $< -I../include -g - $(CC) $(CFLAGS) -S $< -I../include +libffts_la_SOURCES = cp_sse.c patterns.c codegen.c -%.o: %.s - $(CC) $(CFLAGS) -c -o $@ $< -I../include -g - -$(OBJLIBS): $(OBJS) - $(AR) rcs libffts.a $(OBJS) - -clean: - $(RM) -f *.o $(OBJLIBS) +if HAVE_NEON +libffts_la_SOURCES += neon.s +endif +if HAVE_SSE +libffts_la_SOURCES += sse.s +endif -- cgit v1.1