Switch over Demos, Bootloaders and Projects to the new and improved build system.
[pub/lufa.git] / LUFA / CodeTemplates / makefile_template
diff --git a/LUFA/CodeTemplates/makefile_template b/LUFA/CodeTemplates/makefile_template
new file mode 100644 (file)
index 0000000..6f3c1c7
--- /dev/null
@@ -0,0 +1,33 @@
+#\r
+#             LUFA Library\r
+#     Copyright (C) Dean Camera, 2012.\r
+#\r
+#  dean [at] fourwalledcubicle [dot] com\r
+#           www.lufa-lib.org\r
+#\r
+# --------------------------------------\r
+#         LUFA Project Makefile.\r
+# --------------------------------------\r
+\r
+MCU          = at90usb1287\r
+ARCH         = AVR8\r
+BOARD        = USBKEY\r
+F_CPU        = 8000000\r
+F_USB        = $(F_CPU)\r
+OPTIMIZATION = s\r
+TARGET       = Target\r
+SRC          = $(TARGET).c $(LUFA_SRC_USB) $(LUFA_SRC_USBCLASS)\r
+LUFA_PATH    = ../../LUFA/\r
+CC_FLAGS     = -DUSE_LUFA_CONFIG_HEADER -IConfig/\r
+LD_FLAGS     =\r
+\r
+# Default target\r
+all:\r
+\r
+# Include LUFA build script makefiles\r
+include $(LUFA_PATH)/Build/lufa.core.in\r
+include $(LUFA_PATH)/Build/lufa.sources.in\r
+include $(LUFA_PATH)/Build/lufa.build.in\r
+include $(LUFA_PATH)/Build/lufa.doxygen.in\r
+include $(LUFA_PATH)/Build/lufa.dfu.in\r
+include $(LUFA_PATH)/Build/lufa.avrdude.in\r