comparison Makefile @ 162:c3e8226a5651 heavy-updated

- added additional flags to C rules (-DNDEBUG, -mfpu=neon) - sample-accurate envelope triggering pd/heavy example
author chnrx <chris.heinrichs@gmail.com>
date Thu, 12 Nov 2015 14:59:46 +0000
parents 5bcf04234f80
children 40badaff5729
comparison
equal deleted inserted replaced
161:07735c9d95c8 162:c3e8226a5651
85 85
86 # Rule for user-supplied C files 86 # Rule for user-supplied C files
87 build/source/%.o: ./source/%.c 87 build/source/%.o: ./source/%.c
88 @echo 'Building file: $<' 88 @echo 'Building file: $<'
89 @echo 'Invoking: GCC C Compiler' 89 @echo 'Invoking: GCC C Compiler'
90 gcc $(SYNTAX_FLAG) -I./include $(INCLUDES) -O2 -Wall -c -fmessage-length=0 -U_FORTIFY_SOURCE -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" -std=c99 90 gcc $(SYNTAX_FLAG) -I./include $(INCLUDES) -O2 -Wall -c -fmessage-length=0 -U_FORTIFY_SOURCE -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" -std=c99 -mfpu=neon -DNDEBUG
91 @echo 'Finished building: $<' 91 @echo 'Finished building: $<'
92 @echo ' ' 92 @echo ' '
93 93
94 # Rule for user-supplied assembly files 94 # Rule for user-supplied assembly files
95 build/source/%.o: ./source/%.S 95 build/source/%.o: ./source/%.S