Makefile: Fix build of fft_test.elf
authorsjlongland <sjlongland@01035d8c-6547-0410-b346-abe4f91aad63>
Thu, 24 Sep 2015 09:17:54 +0000 (09:17 +0000)
committersjlongland <sjlongland@01035d8c-6547-0410-b346-abe4f91aad63>
Thu, 24 Sep 2015 09:17:54 +0000 (09:17 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@2373 01035d8c-6547-0410-b346-abe4f91aad63

codec2-dev/stm32/Makefile

index 0ea758a0dc7c0f0c32d2d5145d087d70129917a5..21698d03edecbfcb52d68643c5b7fcf5b5e961ec 100644 (file)
@@ -410,6 +410,7 @@ FFT_TEST_SRCS = \
 $(DSPLIB)/Examples/arm_fft_bin_example/GCC/arm_fft_bin_data.c \
 fft_test.c \
 src/startup_stm32f4xx.s \
+src/system_stm32f4xx.c \
 stm32f4_machdep.c \
 gdb_stdio.c \
 ../src/kiss_fft.c
@@ -495,7 +496,7 @@ CODEC2_PROFILE_SRCS += $(CODEC2_SRCS)
 codec2_profile.elf: $(CODEC2_PROFILE_SRCS:.c=.o) libstm32f4.a
        $(CC) $(CFLAGS) -DPROFILE $^ -o $@ $(LIBPATHS) $(LIBS)
 
-fft_test.elf: $(FFT_TEST_SRCS:.c=.o)
+fft_test.elf: $(FFT_TEST_SRCS:.c=.o) libstm32f4.a
        $(CC) $(CFLAGS) $^ -o $@ $(LIBPATHS) $(LIBS)
 
 DAC_UT_SRCS=\