From eee52b591f31a10895bcaae69ecbcc8a8920df79 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Mon, 3 Sep 2012 00:00:16 +0200 Subject: add a masterpin which allows to change the pin --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a44356e..7d24dc8 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,10 @@ CFLAGS=-Wall -Wextra -Wno-unused-parameter -pedantic -std=c99 ifdef PIN DPIN=-DPIN=\"$(PIN)\" endif + +ifdef MASTER_PIN +DPIN+=-DMASTER_PIN=\"$(MASTER_PIN)\" +endif ACFLAGS=-g -mmcu=$(MCU) $(CFLAGS) $(DPIN) -Os -mcall-prologues # ALDFLAGS=-L/usr/avr/lib/avr4 -L/usr/lib/binutils/avr/2.18 LD=gcc -- cgit v1.2.1