Mercurial > pihelp
diff Makefile @ 2:0a6cbbb8c2b7
mostly there
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 03 Jun 2013 23:29:13 +0800 |
parents | e23c1b6f6080 |
children | 87c8d0a11906 |
line wrap: on
line diff
--- a/Makefile Mon Jun 03 19:17:36 2013 +0800 +++ b/Makefile Mon Jun 03 23:29:13 2013 +0800 @@ -25,7 +25,7 @@ SOURCE_1WIRE = onewire.c simple_ds18b20.c crc8.c SOURCE_CRYPTO = hmac-sha1.c sha1-asm.S SOURCE = main.c -SOURCE += (SOURCE_CRYPTO) +SOURCE += $(SOURCE_CRYPTO) LIBS = -lm # default but 2mhz @@ -58,7 +58,7 @@ AVRDUDE = avrdude $(PROGRAMMER) #COMPILE = avr-gcc -Wall -Os -DF_CPU=$(CLOCK) -mmcu=$(DEVICE) -g -std=c99 -mcall-prologues -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--relax -fwhole-program -Wl,-u,vfprintf -lprintf_flt -lm -COMPILE = avr-gcc -Wall -Os -DF_CPU=$(CLOCK) -mmcu=$(DEVICE) -g -std=c99 -Wl,-u,vfprintf -lprintf_flt -lm +COMPILE = /usr/local/CrossPack-AVR/bin/avr-gcc -Wall -Os -DF_CPU=$(CLOCK) -mmcu=$(DEVICE) -g -std=c99 -Wl,-u,vfprintf -lprintf_flt -lm # symbolic targets: all: main.hex