diff options
Diffstat (limited to 'lib/lufa/Projects/TempDataLogger/makefile')
| -rw-r--r-- | lib/lufa/Projects/TempDataLogger/makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/lib/lufa/Projects/TempDataLogger/makefile b/lib/lufa/Projects/TempDataLogger/makefile new file mode 100644 index 000000000..fea6fea91 --- /dev/null +++ b/lib/lufa/Projects/TempDataLogger/makefile | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | # | ||
| 2 | # LUFA Library | ||
| 3 | # Copyright (C) Dean Camera, 2017. | ||
| 4 | # | ||
| 5 | # dean [at] fourwalledcubicle [dot] com | ||
| 6 | # www.lufa-lib.org | ||
| 7 | # | ||
| 8 | # -------------------------------------- | ||
| 9 | # LUFA Project Makefile. | ||
| 10 | # -------------------------------------- | ||
| 11 | |||
| 12 | # Run "make help" for target help. | ||
| 13 | |||
| 14 | MCU = at90usb1287 | ||
| 15 | ARCH = AVR8 | ||
| 16 | BOARD = USBKEY | ||
| 17 | F_CPU = 8000000 | ||
| 18 | F_USB = $(F_CPU) | ||
| 19 | OPTIMIZATION = s | ||
| 20 | TARGET = TempDataLogger | ||
| 21 | SRC = $(TARGET).c Descriptors.c Lib/DataflashManager.c Lib/RTC.c Lib/SCSI.c Lib/FATFs/diskio.c Lib/FATFs/ff.c \ | ||
| 22 | $(LUFA_SRC_USB) $(LUFA_SRC_USBCLASS) $(LUFA_SRC_SERIAL) $(LUFA_SRC_TWI) $(LUFA_SRC_TEMPERATURE) | ||
| 23 | LUFA_PATH = ../../LUFA | ||
| 24 | CC_FLAGS = -DUSE_LUFA_CONFIG_HEADER -IConfig/ | ||
| 25 | LD_FLAGS = | ||
| 26 | |||
| 27 | # Default target | ||
| 28 | all: | ||
| 29 | |||
| 30 | # Include LUFA-specific DMBS extension modules | ||
| 31 | DMBS_LUFA_PATH ?= $(LUFA_PATH)/Build/LUFA | ||
| 32 | include $(DMBS_LUFA_PATH)/lufa-sources.mk | ||
| 33 | include $(DMBS_LUFA_PATH)/lufa-gcc.mk | ||
| 34 | |||
| 35 | # Include common DMBS build system modules | ||
| 36 | DMBS_PATH ?= $(LUFA_PATH)/Build/DMBS/DMBS | ||
| 37 | include $(DMBS_PATH)/core.mk | ||
| 38 | include $(DMBS_PATH)/cppcheck.mk | ||
| 39 | include $(DMBS_PATH)/doxygen.mk | ||
| 40 | include $(DMBS_PATH)/dfu.mk | ||
| 41 | include $(DMBS_PATH)/gcc.mk | ||
| 42 | include $(DMBS_PATH)/hid.mk | ||
| 43 | include $(DMBS_PATH)/avrdude.mk | ||
| 44 | include $(DMBS_PATH)/atprogram.mk | ||
