diff Makefile @ 1:be930b34fcd3

Make it compile, no testing yet.
author Daniel O'Connor <darius@dons.net.au>
date Mon, 26 Jan 2015 23:04:09 +1030
parents 93d4ddff7dd0
children 951277329ee6
line wrap: on
line diff
--- a/Makefile	Wed Jan 04 23:19:12 2012 +1030
+++ b/Makefile	Mon Jan 26 23:04:09 2015 +1030
@@ -1,7 +1,7 @@
 PROG=	sprink
-SRCS=	sprink.c cons.c ds1307.c 1wire.c
+SRCS=	sprink.c cons.c ds1307.c 1wire.c water.c
 
-TPREFIX=	/usr/local/CrossPack-AVR/bin
+#TPREFIX=	/usr/local/CrossPack-AVR/bin/
 
 # Should be 324A but that doesn't work (broken avr-gcc?)
 PART=324p
@@ -11,7 +11,7 @@
 # Clock frequency
 CFLAGS+=-DF_CPU=8000000
 
-CFLAGS+=--param inline-call-cost=2
+#CFLAGS+=--param inline-call-cost=2
 
 # Enable optimisation & debugging
 CFLAGS+=-Os -Wall -g
@@ -26,11 +26,11 @@
 # Allow linker relaxation - optimise after linking
 #LDFLAGS+=-Wl,-relax
 
-#PROGTYPE=dragon_isp
-#PROGPORT=usb
+PROGTYPE=dragon_isp
+PROGPORT=usb
 
-PROGTYPE=buspirate
-PROGPORT=/dev/cu.usbserial-BP1
+#PROGTYPE=buspirate
+#PROGPORT=/dev/cu.usbserial-BP1
 
 # Holds cons, ds1307 & 1wire
 LIBDIR=	../avr-lib