From fbd8f4aff5058f4d371596b04715b7cb6d38e729 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 14 Apr 2009 11:04:09 -0700 Subject: Switch from --model-large to --model-small This shrinks the application quite a bit, and should make it faster as well. Signed-off-by: Keith Packard --- Makefile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ab1a253b..9284ed25 100644 --- a/Makefile +++ b/Makefile @@ -4,14 +4,9 @@ NO_OPT=--nogcse --noinvariant --noinduction --nojtbound --noloopreverse \ --nolabelopt --nooverlay --peep-asm DEBUG=--debug -CFLAGS=--model-large $(DEBUG) --less-pedantic \ - --no-peep --int-long-reent --float-reent \ +CFLAGS=--model-small $(DEBUG) --less-pedantic LDFLAGS=--out-fmt-ihx -LDFLAGS_RAM=$(LDFLAGS) --code-loc 0xf000 --code-size 0x800 \ - --xram-loc 0xf800 --xram-size 0x700 --iram-size 0xff - - LDFLAGS_FLASH=$(LDFLAGS) --code-loc 0x0000 --code-size 0x8000 \ --xram-loc 0xf000 --xram-size 0xf00 --iram-size 0xff @@ -22,12 +17,13 @@ INC = \ SRC = \ ao_adc.c \ ao_beep.c \ + ao_cmd.c \ ao_led.c \ + ao_panic.c \ ao_task.c \ ao_timer.c \ ao_usb.c \ - ao_panic.c \ - ao_test.c \ + ao_main.c \ _bp.c ADB=$(SRC:.c=.adb) -- cgit v1.2.3