altos: Stop including profiling and stack guard code in megametrum
authorKeith Packard <keithp@keithp.com>
Sat, 8 Dec 2012 06:49:34 +0000 (22:49 -0800)
committerKeith Packard <keithp@keithp.com>
Sat, 8 Dec 2012 06:49:34 +0000 (22:49 -0800)
These take CPU time and memory and are intended only for debugging

Signed-off-by: Keith Packard <keithp@keithp.com>
src/megametrum-v0.1/Makefile

index 25d0ed0..a5fdcbb 100644 (file)
@@ -37,12 +37,12 @@ INC = \
 #PROFILE=ao_profile.c
 #PROFILE_DEF=-DAO_PROFILE=1
 
-SAMPLE_PROFILE=ao_sample_profile.c \
-       ao_sample_profile_timer.c
-SAMPLE_PROFILE_DEF=-DHAS_SAMPLE_PROFILE=1
+#SAMPLE_PROFILE=ao_sample_profile.c \
+#      ao_sample_profile_timer.c
+#SAMPLE_PROFILE_DEF=-DHAS_SAMPLE_PROFILE=1
 
-STACK_GUARD=ao_mpu_stm.c
-STACK_GUARD_DEF=-DHAS_STACK_GUARD=1
+#STACK_GUARD=ao_mpu_stm.c
+#STACK_GUARD_DEF=-DHAS_STACK_GUARD=1
 
 ALTOS_SRC = \
        ao_interrupt.c \