comparison Makefile @ 444:cdf77b9e66bf prerelease

Removed Makefile verbosity when building .c files
author Giulio Moro <giuliomoro@yahoo.it>
date Sun, 19 Jun 2016 01:18:45 +0100
parents 7a074e238db3
children 566bb80c2d14
comparison
equal deleted inserted replaced
443:a9af964ac18a 444:cdf77b9e66bf
181 181
182 # Rule for user-supplied C files 182 # Rule for user-supplied C files
183 $(PROJECT_DIR)/build/%.o: $(PROJECT_DIR)/%.c 183 $(PROJECT_DIR)/build/%.o: $(PROJECT_DIR)/%.c
184 @echo 'Building $(notdir $<)...' 184 @echo 'Building $(notdir $<)...'
185 # @echo 'Invoking: C Compiler $(CC)' 185 # @echo 'Invoking: C Compiler $(CC)'
186 $(CC) $(SYNTAX_FLAG) $(INCLUDES) $(C_FLAGS) -Wall -c -fmessage-length=0 -U_FORTIFY_SOURCE -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" -std=c99 186 @$(CC) $(SYNTAX_FLAG) $(INCLUDES) $(C_FLAGS) -Wall -c -fmessage-length=0 -U_FORTIFY_SOURCE -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" -std=c99
187 @echo ' ...done' 187 @echo ' ...done'
188 @echo ' ' 188 @echo ' '
189 189
190 # Rule for user-supplied assembly files 190 # Rule for user-supplied assembly files
191 $(PROJECT_DIR)/build/%.o: $(PROJECT_DIR)/%.S 191 $(PROJECT_DIR)/build/%.o: $(PROJECT_DIR)/%.S