summaryrefslogtreecommitdiff
path: root/digital/avr/modules/motor/motor_model/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'digital/avr/modules/motor/motor_model/test/Makefile')
-rw-r--r--digital/avr/modules/motor/motor_model/test/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/digital/avr/modules/motor/motor_model/test/Makefile b/digital/avr/modules/motor/motor_model/test/Makefile
new file mode 100644
index 00000000..256d1128
--- /dev/null
+++ b/digital/avr/modules/motor/motor_model/test/Makefile
@@ -0,0 +1,10 @@
+BASE = ../../../..
+HOST_PROGS = test_motor_model
+test_motor_model_SOURCES = test_motor_model.c
+MODULES = motor/motor_model
+# -O2 : speed
+# -Os : size
+OPTIMIZE = -O2
+HOST_LIBS = -lm
+
+include $(BASE)/make/Makefile.gen