comparison Makefile @ 190:3b8a28edae41

- Updated heavy scripts to work with custom header - Added -mfpu=neon flag to Makefile for custom .C files
author chnrx <chris.heinrichs@gmail.com>
date Wed, 27 Jan 2016 19:13:57 +0000
parents 524c87ec23a3
children c3a34eaef0cf
comparison
equal deleted inserted replaced
189:7144c5594d16 190:3b8a28edae41
62 62
63 # Rule for user-supplied C files 63 # Rule for user-supplied C files
64 build/source/%.o: ./source/%.c 64 build/source/%.o: ./source/%.c
65 @echo 'Building file: $<' 65 @echo 'Building file: $<'
66 @echo 'Invoking: GCC C Compiler' 66 @echo 'Invoking: GCC C Compiler'
67 gcc $(SYNTAX_FLAG) $(INCLUDES) -O2 -Wall -c -fmessage-length=0 -U_FORTIFY_SOURCE -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" -std=c99 67 gcc $(SYNTAX_FLAG) $(INCLUDES) -O2 -Wall -c -fmessage-length=0 -U_FORTIFY_SOURCE -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" -std=c99 -mfpu=neon
68 @echo 'Finished building: $<' 68 @echo 'Finished building: $<'
69 @echo ' ' 69 @echo ' '
70 70
71 # Rule for user-supplied assembly files 71 # Rule for user-supplied assembly files
72 build/source/%.o: ./source/%.S 72 build/source/%.o: ./source/%.S