comparison Makefile @ 160:5bcf04234f80 heavy-updated

- added -std=c99 to Makefile for user-supplied C files (required for heavy files) - changed heavy core render.cpp file to use latest API and removed all redundant functions (e.g. foleyDesigner/touchkey stuff) - use build_pd.sh to compile and run pd files (-h for usage instructions)
author chnrx <chris.heinrichs@gmail.com>
date Thu, 05 Nov 2015 18:58:26 +0000
parents 39962292dfb4
children c3e8226a5651
comparison
equal deleted inserted replaced
159:1e7db6610600 160:5bcf04234f80
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