aboutsummaryrefslogtreecommitdiff
path: root/gtk/Makefile.am
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-03-30 23:31:39 +0000
committerTakamichi Horikawa <takamichiho@gmail.com>2017-03-30 23:31:39 +0000
commitf47eba7d7d4c6a1d9501e027b63bbab04bb7d417 (patch)
treec6d8ebf4f84b76e9d32d4998d28a69d36fddd4a9 /gtk/Makefile.am
parenta86bb48b9f3acb081afa92e5efc50d0192c4f68c (diff)
add NEON optimization
Diffstat (limited to 'gtk/Makefile.am')
-rw-r--r--gtk/Makefile.am18
1 files changed, 13 insertions, 5 deletions
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 174f5e9..0a9a95b 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -1,11 +1,12 @@
bin_PROGRAMS=fmplayer
LIBOPNA_SRC=../libopna/opnaadpcm.c \
- ../libopna/opnadrum.c \
- ../libopna/opnafm.c \
- ../libopna/opnassg.c \
- ../libopna/opnatimer.c \
- ../libopna/opna.c
+ ../libopna/opnadrum.c \
+ ../libopna/opnafm.c \
+ ../libopna/opnassg.c \
+ ../libopna/opnassg-sinc-c.c \
+ ../libopna/opnatimer.c \
+ ../libopna/opna.c
FMDRIVER_SRC=../fmdriver/fmdriver_fmp.c \
../fmdriver/fmdriver_pmd.c \
@@ -13,9 +14,16 @@ FMDRIVER_SRC=../fmdriver/fmdriver_fmp.c \
../fmdriver/ppz8.c
FMDSP_SRC=../fmdsp/fmdsp.c \
+ ../fmdsp/fmdsp-vramlookup-c.c \
../fmdsp/font_rom.c \
../fmdsp/font_fmdsp_small.c
+if ENABLE_NEON
+LIBOPNA_SRC+=../libopna/opnassg-sinc-neon.s
+FMDSP_SRC+=../fmdsp/fmdsp-vramlookup-neon.s
+fmplayer_CCASFLAGS=-march=armv8-a -mfpu=crypto-neon-fp-armv8
+endif
+
fmplayer_SOURCES=main.c \
toneview.c \
oscilloview.c \