X-Git-Url: http://git.kpe.io/?p=avr_serial_lcd.git;a=blobdiff_plain;f=iar_c%2FMakefile;fp=iar_c%2FMakefile;h=304b256b26cb6d1636241cdf1ba6acb316a1d8d4;hp=949ac7cbedc23b2700c5dab8dbd36d6028b3e064;hb=fc353a447c9be6865aaeddec34b1b3d40b0cf070;hpb=32f563c436c2f9ae80b083280b54aa24af7f5398 diff --git a/iar_c/Makefile b/iar_c/Makefile index 949ac7c..304b256 100644 --- a/iar_c/Makefile +++ b/iar_c/Makefile @@ -9,10 +9,10 @@ CC = /Program Files/IAR Systems/Embedded Workbench 5.0/avr/bin/iccavr.exe LD = /Program Files/IAR Systems/Embedded Workbench 5.0/avr/bin/xlink.exe ## Compile options common for all C compilation units. -CFLAGS = --cpu $(MCU) -lA $(PROJECT).lst -z9 -e --lock_regs 4 -D ENABLE_BIT_DEFINITIONS +CFLAGS = --cpu $(MCU) -l $(PROJECT).lst -s9 -e --lock_regs 4 -D ENABLE_BIT_DEFINITIONS ## Linker flags -LDFLAGS = -Fubrof9 -xm -xs -f '/Program Files/IAR Systems/Embedded Workbench 5.0/avr/config/lnktiny2313t.xcl' -l $(PROJECT).map -s main +LDFLAGS = -Fubrof9 -xm -xs -xe -xn -xo -f '/Program Files/IAR Systems/Embedded Workbench 5.0/avr/config/lnktiny2313t.xcl' -l $(PROJECT).map -s main LIBS = '/Program Files/IAR Systems/Embedded Workbench 5.0/avr/lib/clib/cl0t.r90' ## Include Directories