diff options
author | Christian Franke <nobody@nowhere.ws> | 2012-09-03 00:00:16 +0200 |
---|---|---|
committer | Christian Franke <nobody@nowhere.ws> | 2012-09-03 00:03:29 +0200 |
commit | eee52b591f31a10895bcaae69ecbcc8a8920df79 (patch) | |
tree | 82808ef023dcae38b16697b892bb434465f9ff0e /Makefile | |
parent | 97140abf540f41e97ae59beff8a3c106010641aa (diff) |
add a masterpin which allows to change the pin
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |