comparison Makefile @ 165:30dade7bc2bc

Merge
author chnrx <chris.heinrichs@gmail.com>
date Thu, 03 Dec 2015 16:24:02 +0000
parents 40badaff5729
children 31e898185ae8
comparison
equal deleted inserted replaced
159:1e7db6610600 165:30dade7bc2bc
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