summaryrefslogtreecommitdiff
path: root/src/binwatch/Makefile
diff options
context:
space:
mode:
authorNicolas Schodet2010-07-17 17:46:42 +0200
committerNicolas Schodet2010-07-17 17:46:42 +0200
commit6a5e19e6077b1dd1f5d2076b0a63dfef1c04de1d (patch)
tree184ef4405693fade94b613bc5a7aed5759da8d6c /src/binwatch/Makefile
parentf32ef700f277704a8eb89aebf7099d19853364f1 (diff)
add simple counter program
Diffstat (limited to 'src/binwatch/Makefile')
-rw-r--r--src/binwatch/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/binwatch/Makefile b/src/binwatch/Makefile
new file mode 100644
index 0000000..cf20b6d
--- /dev/null
+++ b/src/binwatch/Makefile
@@ -0,0 +1,15 @@
+BASE = $b/digital/avr
+AVR_PROGS = counter
+counter_SOURCES = counter.c led.c
+MODULES = utils
+CONFIGFILE = avrconfig.h
+# atmega8, atmega8535, atmega128...
+AVR_MCU = attiny85
+# -O2 : speed
+# -Os : size
+OPTIMIZE = -Os
+
+INCLUDES = -I.. -I.
+vpath %.c ../common
+
+include $(BASE)/make/Makefile.gen