]> git.sur5r.net Git - freertos/blobdiff - Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/Makefile
Documentation only.
[freertos] / Demo / ColdFire_MCF5282_Eclipse / RTOSDemo / Makefile
index 3ce41d52d555fe0144e8ee3b7af30de3b0fc3862..4abb17f93263c800d1aa69d97e8f81384336af59 100644 (file)
@@ -1,5 +1,8 @@
 RM := rm -rf\r
 \r
+# Set the optimisation level - this should be set to 0, 1, 2, 3 or s (s for size).\r
+OPTIM=s\r
+\r
 ###############################################################################\r
 # List the directories that contain files to be built.\r
 ###############################################################################\r
@@ -81,9 +84,9 @@ INCLUDE_PATHS=        -I"$(FREERTOS_SOURCE_DIR)/include" \
 \r
 CFLAGS=                $(INCLUDE_PATHS) \\r
                        -D COLDFIRE_V2_GCC \\r
-                       -Os \\r
+                       -O$(OPTIM) \\r
                        -fno-strict-aliasing \\r
-                       -g1 \\r
+                       -g3 \\r
                        -Wall \\r
                        -Wextra \\r
                        -c \\r