diff options
author | Anthony Blake <anthonix@me.com> | 2012-08-29 18:08:30 +1200 |
---|---|---|
committer | Anthony Blake <anthonix@me.com> | 2012-08-29 18:08:30 +1200 |
commit | 5e4a32240e9ed9cb03ef51d2344ec80c615489cb (patch) | |
tree | ae0fea8ad5906bad0a2393868eeb10b0019815f9 /src/Makefile.am | |
parent | 625f46968820cb98391d67782a9deac4504e289a (diff) | |
download | ffts-5e4a32240e9ed9cb03ef51d2344ec80c615489cb.zip ffts-5e4a32240e9ed9cb03ef51d2344ec80c615489cb.tar.gz |
SSE LEAF EE works
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 24 |
1 files changed, 8 insertions, 16 deletions
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 |