summaryrefslogtreecommitdiff
path: root/src/binwatch/Makefile
diff options
context:
space:
mode:
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