X-Git-Url: http://git.kpe.io/?p=avr_serial_lcd.git;a=blobdiff_plain;f=icc_c%2FMakefile;fp=icc_c%2FMakefile;h=f3c232a51c0c90696ce106f73599a8b39c93070d;hp=e0395096a365bd120dcc4b3a181350ad3ab52bd8;hb=fc353a447c9be6865aaeddec34b1b3d40b0cf070;hpb=32f563c436c2f9ae80b083280b54aa24af7f5398 diff --git a/icc_c/Makefile b/icc_c/Makefile index e039509..f3c232a 100644 --- a/icc_c/Makefile +++ b/icc_c/Makefile @@ -9,7 +9,7 @@ CC = iccavr OBJECTS = $(PROJECT).o ## Compile options common for all C compilation units. -CFLAGS = -e -D__ICC_VERSION="7.16A" -DATtiny2313 -l -A -A -g -Wf-r20_23 -O24 +CFLAGS = -g -e -D__ICC_VERSION="7.16A" -DATtiny2313 -l -A -A -Wf-r20_23 -O24 ## Linker flags LDFLAGS = -g -e:0x0800 -bfunc_lit:0x26.0x800 -dram_end:0xdf -bdata:0x60.0xdf -dhwstk_size:30 -beeprom:0.128 -fihx_coff -S2 @@ -27,11 +27,11 @@ LINKONLYOBJECTS = all: $(TARGET) ## Compile -$(PROJECT).o: ../serial_lcd.c +$(PROJECT).o: ../$(PROJECT).c $(CC) -c $(CFLAGS) $(INCLUDES) $< $(TARGET): $(OBJECTS) - $(CC) -o SERIAL_LCD $(LDFLAGS) $(OBJECTS) -lcavrgr + $(CC) -o $(project) $(LDFLAGS) $(OBJECTS) -lcavrgr ## Clean target .PHONY: distclean