summaryrefslogtreecommitdiff
path: root/digital/mimot/src/dirty/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'digital/mimot/src/dirty/Makefile')
-rw-r--r--digital/mimot/src/dirty/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/digital/mimot/src/dirty/Makefile b/digital/mimot/src/dirty/Makefile
new file mode 100644
index 00000000..979aae7e
--- /dev/null
+++ b/digital/mimot/src/dirty/Makefile
@@ -0,0 +1,16 @@
+BASE = ../../../avr
+PROGS = dirty
+dirty_SOURCES = main.c timer.avr.c counter_ext.avr.c pwm.avr.c \
+ pwm_ocr.avr.c pos.c speed.c aux.c \
+ twi_proto.c eeprom.avr.c state.c \
+ simu.host.c motor_model.host.c models.host.c
+MODULES = proto uart utils math/fixed twi
+CONFIGFILE = avrconfig.h
+# atmega8, atmega8535, atmega128...
+AVR_MCU = atmega32
+# -O2 : speed
+# -Os : size
+OPTIMIZE = -Os
+HOST_LIBS = -lm
+
+include $(BASE)/make/Makefile.gen