comparison Makefile @ 170:e80340fe527a

merge
author Giulio Moro <giuliomoro@yahoo.it>
date Mon, 28 Dec 2015 03:19:59 +0100
parents 40badaff5729
children 31e898185ae8
comparison
equal deleted inserted replaced
169:94751ad27fd6 170:e80340fe527a
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 "$@" "$<" 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
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