comparison Makefile @ 5:87c8d0a11906

make it work
author Matt Johnston <matt@ucc.asn.au>
date Wed, 05 Jun 2013 21:29:02 +0800
parents 0a6cbbb8c2b7
children 915be6f0ff13
comparison
equal deleted inserted replaced
4:fd28c7358ce8 5:87c8d0a11906
21 PROGDEVICE = atmega328p 21 PROGDEVICE = atmega328p
22 CLOCK = 2000000 22 CLOCK = 2000000
23 PROGRAMMER = #-c stk500v2 -P avrdoper 23 PROGRAMMER = #-c stk500v2 -P avrdoper
24 PROGRAMMER = -c stk500 -P ~/dev/stk500 -p $(PROGDEVICE) -B 2 24 PROGRAMMER = -c stk500 -P ~/dev/stk500 -p $(PROGDEVICE) -B 2
25 SOURCE_1WIRE = onewire.c simple_ds18b20.c crc8.c 25 SOURCE_1WIRE = onewire.c simple_ds18b20.c crc8.c
26 SOURCE_CRYPTO = hmac-sha1.c sha1-asm.S 26 SOURCE_CRYPTO = hmac-sha1.c sha1-asm.S aes.c
27 SOURCE = main.c 27 SOURCE = main.c
28 SOURCE += $(SOURCE_CRYPTO) 28 SOURCE += $(SOURCE_CRYPTO)
29 LIBS = -lm 29 LIBS = -lm
30 30
31 # default but 2mhz 31 # default but 2mhz