From: Ian Jackson Date: Sun, 19 Dec 2010 18:45:57 +0000 (+0000) Subject: detpic/Makefile: honour TTY variable X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=47386778d9138ddf45216d5e4093aa0ec0a49a1d;p=trains.git detpic/Makefile: honour TTY variable --- diff --git a/detpic/Makefile b/detpic/Makefile index ce1c104..c40588f 100644 --- a/detpic/Makefile +++ b/detpic/Makefile @@ -20,6 +20,8 @@ OBJS_program= $(addsuffix .o, $(FILES)) XCODEN_program= morse XCODE1_program= ours+pindata +TTY=/dev/ttya0 + INCLUDES= \ common.inc \ panic.inc \ @@ -61,7 +63,7 @@ i2clib+panic.mangles: make-panicworthy i2clib.inc i2clib.asm Makefile ./$+ $(CLOCKS) $o t.%.crash: crashread program+program.map - ./$< /dev/ttya0 $(filter-out $<,$^) $* $o + ./$< $(TTY) $(filter-out $<,$^) $* $o verify%: program+entire%.hex odyssey-train $* verify $^