16b8177c5SMatthias Ringwald########################################################################################################################## 26b8177c5SMatthias Ringwald# File automatically-generated by tool: [projectgenerator] version: [3.11.0-B13] date: [Fri Apr 30 00:25:48 CEST 2021] 36b8177c5SMatthias Ringwald########################################################################################################################## 46b8177c5SMatthias Ringwald 56b8177c5SMatthias Ringwald# ------------------------------------------------ 66b8177c5SMatthias Ringwald# Generic Makefile (based on gcc) 76b8177c5SMatthias Ringwald# 86b8177c5SMatthias Ringwald# ChangeLog : 96b8177c5SMatthias Ringwald# 2017-02-10 - Several enhancements + project update mode 106b8177c5SMatthias Ringwald# 2015-07-22 - first version 116b8177c5SMatthias Ringwald# ------------------------------------------------ 126b8177c5SMatthias Ringwald 136b8177c5SMatthias Ringwald###################################### 146b8177c5SMatthias Ringwald# target 156b8177c5SMatthias Ringwald###################################### 166b8177c5SMatthias RingwaldTARGET = stm32-l476rg-nucleo-sx1280 176b8177c5SMatthias Ringwald 186b8177c5SMatthias Ringwald 196b8177c5SMatthias Ringwald###################################### 206b8177c5SMatthias Ringwald# building variables 216b8177c5SMatthias Ringwald###################################### 226b8177c5SMatthias Ringwald# debug build? 236b8177c5SMatthias RingwaldDEBUG = 1 246b8177c5SMatthias Ringwald# optimization 256b8177c5SMatthias RingwaldOPT = -Og 266b8177c5SMatthias Ringwald 276b8177c5SMatthias Ringwald 286b8177c5SMatthias Ringwald####################################### 296b8177c5SMatthias Ringwald# paths 306b8177c5SMatthias Ringwald####################################### 316b8177c5SMatthias Ringwald# Build path 326b8177c5SMatthias RingwaldBUILD_DIR = build 336b8177c5SMatthias Ringwald 346b8177c5SMatthias Ringwald# BTstack Repo 356b8177c5SMatthias RingwaldBTSTACK_ROOT ?= ../.. 366b8177c5SMatthias Ringwald 376b8177c5SMatthias Ringwald# VPATH to find .gatt files 386b8177c5SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/example 396b8177c5SMatthias Ringwald 406b8177c5SMatthias Ringwald###################################### 416b8177c5SMatthias Ringwald# source 426b8177c5SMatthias Ringwald###################################### 436b8177c5SMatthias Ringwald# C sources 446b8177c5SMatthias RingwaldC_SOURCES = \ 456b8177c5SMatthias Ringwald${BTSTACK_ROOT}/3rd-party/micro-ecc/uECC.c \ 466b8177c5SMatthias Ringwald${BTSTACK_ROOT}/3rd-party/rijndael/rijndael.c \ 476b8177c5SMatthias Ringwald${BTSTACK_ROOT}/3rd-party/segger-rtt/SEGGER_RTT.c \ 486b8177c5SMatthias Ringwald${BTSTACK_ROOT}/3rd-party/segger-rtt/SEGGER_RTT_printf.c \ 496b8177c5SMatthias Ringwald${BTSTACK_ROOT}/3rd-party/segger-rtt/SEGGER_RTT_Syscalls_GCC.c \ 506b8177c5SMatthias Ringwald${BTSTACK_ROOT}/platform/embedded/btstack_run_loop_embedded.c \ 516b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/ad_parser.c \ 526b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/ble/ancs_client.c \ 536b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/ble/att_db.c \ 546b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/ble/att_dispatch.c \ 556b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/ble/att_server.c \ 566b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/ble/gatt-service/battery_service_client.c \ 576b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/ble/gatt-service/battery_service_server.c \ 586b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/ble/gatt-service/device_information_service_client.c \ 596b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/ble/gatt-service/device_information_service_server.c \ 606b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/ble/gatt-service/hids_device.c \ 616b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/ble/gatt_client.c \ 626b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/ble/le_device_db_memory.c \ 636b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/ble/le_device_db_tlv.c \ 646b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/ble/sm.c \ 656b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/btstack_audio.c \ 666b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/btstack_crypto.c \ 676b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/btstack_hid_parser.c \ 686b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/btstack_linked_list.c \ 696b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/btstack_linked_queue.c \ 706b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/btstack_memory.c \ 716b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/btstack_memory_pool.c \ 726b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/btstack_resample.c \ 736b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/btstack_ring_buffer.c \ 746b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/btstack_run_loop.c \ 756b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/btstack_tlv.c \ 766b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/btstack_tlv_none.c \ 776b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/btstack_util.c \ 786b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/hci.c \ 796b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/hci_cmd.c \ 806b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/hci_dump.c \ 817d902a1fSMatthias Ringwald${BTSTACK_ROOT}/src/hci_event.c \ 82*06816492SMatthias Ringwald${BTSTACK_ROOT}/src/hci_event_builder.c \ 836b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/hci_transport_h4.c \ 846b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/l2cap.c \ 856b8177c5SMatthias Ringwald${BTSTACK_ROOT}/src/l2cap_signaling.c \ 866b8177c5SMatthias Ringwald${BTSTACK_ROOT}/chipset/cinnamon/controller.c \ 876b8177c5SMatthias Ringwald${BTSTACK_ROOT}/chipset/cinnamon/hopping.c \ 886b8177c5SMatthias Ringwald${BTSTACK_ROOT}/chipset/sx128x/ll_sx1280.c \ 896b8177c5SMatthias Ringwald${BTSTACK_ROOT}/chipset/sx128x/SMTC_Drivers/sx1280-driver-c/sx1280-hal.c \ 906b8177c5SMatthias Ringwald${BTSTACK_ROOT}/chipset/sx128x/SMTC_Drivers/sx1280-driver-c/sx1280.c \ 916b8177c5SMatthias RingwaldDrivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.c \ 926b8177c5SMatthias RingwaldDrivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.c \ 936b8177c5SMatthias RingwaldDrivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma.c \ 946b8177c5SMatthias RingwaldDrivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma_ex.c \ 956b8177c5SMatthias RingwaldDrivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_exti.c \ 966b8177c5SMatthias RingwaldDrivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.c \ 976b8177c5SMatthias RingwaldDrivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.c \ 986b8177c5SMatthias RingwaldDrivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ramfunc.c \ 996b8177c5SMatthias RingwaldDrivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.c \ 1006b8177c5SMatthias RingwaldDrivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.c \ 1016b8177c5SMatthias RingwaldDrivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.c \ 1026b8177c5SMatthias RingwaldDrivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_lptim.c \ 1036b8177c5SMatthias RingwaldDrivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.c \ 1046b8177c5SMatthias RingwaldDrivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.c \ 1056b8177c5SMatthias RingwaldDrivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.c \ 1066b8177c5SMatthias RingwaldDrivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.c \ 1076b8177c5SMatthias RingwaldDrivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c \ 1086b8177c5SMatthias RingwaldDrivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi_ex.c \ 1096b8177c5SMatthias RingwaldDrivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim.c \ 1106b8177c5SMatthias RingwaldDrivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim_ex.c \ 1116b8177c5SMatthias RingwaldDrivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.c \ 1126b8177c5SMatthias RingwaldDrivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.c \ 1136b8177c5SMatthias Ringwaldport/hal_timer.c \ 1146b8177c5SMatthias Ringwaldport/btstack_port.c \ 1156b8177c5SMatthias RingwaldSrc/main.c \ 1166b8177c5SMatthias RingwaldSrc/stm32l4xx_hal_msp.c \ 1176b8177c5SMatthias RingwaldSrc/stm32l4xx_it.c \ 1186b8177c5SMatthias RingwaldSrc/system_stm32l4xx.c 1196b8177c5SMatthias Ringwald 1206b8177c5SMatthias Ringwald# ${BTSTACK_ROOT}/platform/embedded/hal_flash_bank_memory.c \ 1216b8177c5SMatthias Ringwald# ${BTSTACK_ROOT}/platform/embedded/btstack_tlv_flash_bank.c \ 1226b8177c5SMatthias Ringwald 1236b8177c5SMatthias Ringwald 1246b8177c5SMatthias Ringwald# ASM sources 1256b8177c5SMatthias RingwaldASM_SOURCES = \ 1266b8177c5SMatthias Ringwaldstartup_stm32l476xx.s 1276b8177c5SMatthias Ringwald 1286b8177c5SMatthias Ringwald 1296b8177c5SMatthias Ringwald####################################### 1306b8177c5SMatthias Ringwald# binaries 1316b8177c5SMatthias Ringwald####################################### 1326b8177c5SMatthias RingwaldPREFIX = arm-none-eabi- 1336b8177c5SMatthias Ringwald# The gcc compiler bin path can be either defined in make command via GCC_PATH variable (> make GCC_PATH=xxx) 1346b8177c5SMatthias Ringwald# either it can be added to the PATH environment variable. 1356b8177c5SMatthias Ringwaldifdef GCC_PATH 1366b8177c5SMatthias RingwaldCC = $(GCC_PATH)/$(PREFIX)gcc 1376b8177c5SMatthias RingwaldAS = $(GCC_PATH)/$(PREFIX)gcc -x assembler-with-cpp 1386b8177c5SMatthias RingwaldCP = $(GCC_PATH)/$(PREFIX)objcopy 1396b8177c5SMatthias RingwaldSZ = $(GCC_PATH)/$(PREFIX)size 1406b8177c5SMatthias Ringwaldelse 1416b8177c5SMatthias RingwaldCC = $(PREFIX)gcc 1426b8177c5SMatthias RingwaldAS = $(PREFIX)gcc -x assembler-with-cpp 1436b8177c5SMatthias RingwaldCP = $(PREFIX)objcopy 1446b8177c5SMatthias RingwaldSZ = $(PREFIX)size 1456b8177c5SMatthias Ringwaldendif 1466b8177c5SMatthias RingwaldHEX = $(CP) -O ihex 1476b8177c5SMatthias RingwaldBIN = $(CP) -O binary -S 1486b8177c5SMatthias Ringwald 1496b8177c5SMatthias Ringwald####################################### 1506b8177c5SMatthias Ringwald# CFLAGS 1516b8177c5SMatthias Ringwald####################################### 1526b8177c5SMatthias Ringwald# cpu 1536b8177c5SMatthias RingwaldCPU = -mcpu=cortex-m4 1546b8177c5SMatthias Ringwald 1556b8177c5SMatthias Ringwald# fpu 1566b8177c5SMatthias RingwaldFPU = -mfpu=fpv4-sp-d16 1576b8177c5SMatthias Ringwald 1586b8177c5SMatthias Ringwald# float-abi 1596b8177c5SMatthias RingwaldFLOAT-ABI = -mfloat-abi=hard 1606b8177c5SMatthias Ringwald 1616b8177c5SMatthias Ringwald# mcu 1626b8177c5SMatthias RingwaldMCU = $(CPU) -mthumb $(FPU) $(FLOAT-ABI) 1636b8177c5SMatthias Ringwald 1646b8177c5SMatthias Ringwald# macros for gcc 1656b8177c5SMatthias Ringwald# AS defines 1666b8177c5SMatthias RingwaldAS_DEFS = 1676b8177c5SMatthias Ringwald 1686b8177c5SMatthias Ringwald# C defines 1696b8177c5SMatthias RingwaldC_DEFS = \ 1706b8177c5SMatthias Ringwald-DUSE_HAL_DRIVER \ 1716b8177c5SMatthias Ringwald-DSTM32L476xx 1726b8177c5SMatthias Ringwald 1736b8177c5SMatthias Ringwald 1746b8177c5SMatthias Ringwald# AS includes 1756b8177c5SMatthias RingwaldAS_INCLUDES = 1766b8177c5SMatthias Ringwald 1776b8177c5SMatthias Ringwald# C includes 1786b8177c5SMatthias RingwaldC_INCLUDES = \ 1796b8177c5SMatthias Ringwald-I $(BUILD_DIR) \ 1806b8177c5SMatthias Ringwald-I ${BTSTACK_ROOT}/3rd-party/micro-ecc \ 1816b8177c5SMatthias Ringwald-I ${BTSTACK_ROOT}/3rd-party/rijndael \ 1826b8177c5SMatthias Ringwald-I ${BTSTACK_ROOT}/3rd-party/segger-rtt \ 1836b8177c5SMatthias Ringwald-I ${BTSTACK_ROOT}/platform/embedded \ 1846b8177c5SMatthias Ringwald-I ${BTSTACK_ROOT}/src \ 1856b8177c5SMatthias Ringwald-I ${BTSTACK_ROOT}/src/ble \ 1866b8177c5SMatthias Ringwald-I ${BTSTACK_ROOT}/src/ble/gatt-service \ 1876b8177c5SMatthias Ringwald-I ${BTSTACK_ROOT}/chipset/sx128x \ 1886b8177c5SMatthias Ringwald-I ${BTSTACK_ROOT}/chipset/sx128x/SMTC_Drivers/ \ 1896b8177c5SMatthias Ringwald-I ${BTSTACK_ROOT}/chipset/sx128x/SMTC_Drivers/sx1280-driver-c/ \ 1906b8177c5SMatthias Ringwald-I ${BTSTACK_ROOT}/chipset/cinnamon \ 1916b8177c5SMatthias Ringwald-I Drivers/CMSIS/Device/ST/STM32L4xx/Include \ 1926b8177c5SMatthias Ringwald-I Drivers/CMSIS/Include \ 1936b8177c5SMatthias Ringwald-IDrivers/STM32L4xx_HAL_Driver/Inc \ 1946b8177c5SMatthias Ringwald-IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy \ 1956b8177c5SMatthias Ringwald-I Inc \ 1966b8177c5SMatthias Ringwald-I port \ 1976b8177c5SMatthias Ringwald-I . \ 1986b8177c5SMatthias Ringwald-IInc \ 1996b8177c5SMatthias Ringwald-IDrivers/CMSIS/Device/ST/STM32L4xx/Include \ 2006b8177c5SMatthias Ringwald-IDrivers/CMSIS/Include 2016b8177c5SMatthias Ringwald 2026b8177c5SMatthias Ringwald# compile gcc flags 2036b8177c5SMatthias RingwaldASFLAGS = $(MCU) $(AS_DEFS) $(AS_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction-sections 2046b8177c5SMatthias Ringwald 2056b8177c5SMatthias RingwaldCFLAGS = $(MCU) $(C_DEFS) $(C_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction-sections 2066b8177c5SMatthias Ringwald 2076b8177c5SMatthias Ringwaldifeq ($(DEBUG), 1) 2086b8177c5SMatthias RingwaldCFLAGS += -g -gdwarf-2 2096b8177c5SMatthias Ringwaldendif 2106b8177c5SMatthias Ringwald 2116b8177c5SMatthias Ringwald 2126b8177c5SMatthias Ringwald# Generate dependency information 2136b8177c5SMatthias RingwaldCFLAGS += -MMD -MP -MF"$(@:%.o=%.d)" 2146b8177c5SMatthias Ringwald 2156b8177c5SMatthias Ringwald 2166b8177c5SMatthias Ringwald####################################### 2176b8177c5SMatthias Ringwald# LDFLAGS 2186b8177c5SMatthias Ringwald####################################### 2196b8177c5SMatthias Ringwald# link script 2206b8177c5SMatthias RingwaldLDSCRIPT = STM32L476RGTx_FLASH.ld 2216b8177c5SMatthias Ringwald 2226b8177c5SMatthias Ringwald# libraries 2236b8177c5SMatthias RingwaldLIBS = -lc -lm -lnosys 2246b8177c5SMatthias RingwaldLIBDIR = 2256b8177c5SMatthias RingwaldLDFLAGS = $(MCU) -specs=nano.specs -T$(LDSCRIPT) $(LIBDIR) $(LIBS) -Wl,-Map=$(BUILD_DIR)/$(TARGET).map,--cref -Wl,--gc-sections 2266b8177c5SMatthias Ringwald 2276b8177c5SMatthias Ringwald# default action: build all 2286b8177c5SMatthias RingwaldEXAMPLES = \ 2296b8177c5SMatthias Ringwald gatt_counter \ 2306b8177c5SMatthias Ringwald gatt_streamer_server \ 2316b8177c5SMatthias Ringwald hog_keyboard_demo \ 2326b8177c5SMatthias Ringwald hog_mouse_demo \ 2336b8177c5SMatthias Ringwald 2346b8177c5SMatthias RingwaldGATT_FILES = \ 2356b8177c5SMatthias Ringwald gatt_counter.gatt \ 2366b8177c5SMatthias Ringwald gatt_streamer_server.gatt \ 2376b8177c5SMatthias Ringwald hog_keyboard_demo.gatt \ 2386b8177c5SMatthias Ringwald hog_mouse_demo.gatt \ 2396b8177c5SMatthias Ringwald 2406b8177c5SMatthias Ringwald# default action: build all 2416b8177c5SMatthias Ringwaldall: \ 2426b8177c5SMatthias Ringwald $(OBJECTS) \ 2436b8177c5SMatthias Ringwald $(addprefix $(BUILD_DIR)/,$(GATT_FILES:.gatt=.h)) \ 2446b8177c5SMatthias Ringwald $(addprefix $(BUILD_DIR)/,$(EXAMPLES:=.elf)) \ 2456b8177c5SMatthias Ringwald $(addprefix $(BUILD_DIR)/,$(EXAMPLES:=.hex)) \ 2466b8177c5SMatthias Ringwald $(addprefix $(BUILD_DIR)/,$(EXAMPLES:=.bin)) \ 2476b8177c5SMatthias Ringwald $(addprefix $(BUILD_DIR)/,$(EXAMPLES:=.jdebug)) \ 2486b8177c5SMatthias Ringwald 2496b8177c5SMatthias Ringwald####################################### 2506b8177c5SMatthias Ringwald# build the application 2516b8177c5SMatthias Ringwald####################################### 2526b8177c5SMatthias Ringwald# list of objects 2536b8177c5SMatthias RingwaldOBJECTS = $(addprefix $(BUILD_DIR)/,$(notdir $(C_SOURCES:.c=.o))) 2546b8177c5SMatthias Ringwaldvpath %.c $(sort $(dir $(C_SOURCES))) 2556b8177c5SMatthias Ringwald# list of ASM program objects 2566b8177c5SMatthias RingwaldOBJECTS += $(addprefix $(BUILD_DIR)/,$(notdir $(ASM_SOURCES:.s=.o))) 2576b8177c5SMatthias Ringwaldvpath %.s $(sort $(dir $(ASM_SOURCES))) 2586b8177c5SMatthias Ringwald 2596b8177c5SMatthias Ringwald$(BUILD_DIR)/%.h: %.gatt | $(BUILD_DIR) 2606b8177c5SMatthias Ringwald python3 ${BTSTACK_ROOT}/tool/compile_gatt.py $< $@ 2616b8177c5SMatthias Ringwald 2626b8177c5SMatthias Ringwald$(BUILD_DIR)/%.o: %.c Makefile | $(BUILD_DIR) 2636b8177c5SMatthias Ringwald $(CC) -c $(CFLAGS) -Wa,-a,-ad,-alms=$(BUILD_DIR)/$(notdir $(<:.c=.lst)) $< -o $@ 2646b8177c5SMatthias Ringwald 2656b8177c5SMatthias Ringwald$(BUILD_DIR)/%.o: %.s Makefile | $(BUILD_DIR) 2666b8177c5SMatthias Ringwald $(AS) -c $(CFLAGS) $< -o $@ 2676b8177c5SMatthias Ringwald 2686b8177c5SMatthias Ringwald$(BUILD_DIR)/%.elf: Makefile $(OBJECTS) $(BUILD_DIR)/%.o 2696b8177c5SMatthias Ringwald $(CC) $(filter-out Makefile,$^) $(LDFLAGS) -o $@ 2706b8177c5SMatthias Ringwald $(SZ) $@ 2716b8177c5SMatthias Ringwald 2726b8177c5SMatthias Ringwald$(BUILD_DIR)/%.hex: $(BUILD_DIR)/%.elf | $(BUILD_DIR) 2736b8177c5SMatthias Ringwald $(HEX) $< $@ 2746b8177c5SMatthias Ringwald 2756b8177c5SMatthias Ringwald$(BUILD_DIR)/%.bin: $(BUILD_DIR)/%.elf | $(BUILD_DIR) 2766b8177c5SMatthias Ringwald $(BIN) $< $@ 2776b8177c5SMatthias Ringwald 2786b8177c5SMatthias Ringwald$(BUILD_DIR)/%.jdebug: ozone.jdebug | $(BUILD_DIR) 2796b8177c5SMatthias Ringwald sed -e "s|EXAMPLE|$(basename $(notdir $@))|" $< > $@ 2806b8177c5SMatthias Ringwald 2816b8177c5SMatthias Ringwald$(BUILD_DIR): 2826b8177c5SMatthias Ringwald mkdir $@ 2836b8177c5SMatthias Ringwald 2846b8177c5SMatthias Ringwald####################################### 2856b8177c5SMatthias Ringwald# clean up 2866b8177c5SMatthias Ringwald####################################### 2876b8177c5SMatthias Ringwaldclean: 2886b8177c5SMatthias Ringwald -rm -fR $(BUILD_DIR) 2896b8177c5SMatthias Ringwald 2906b8177c5SMatthias Ringwald####################################### 2916b8177c5SMatthias Ringwald# dependencies 2926b8177c5SMatthias Ringwald####################################### 2936b8177c5SMatthias Ringwald-include $(wildcard $(BUILD_DIR)/*.d) 2946b8177c5SMatthias Ringwald 2956b8177c5SMatthias Ringwald# *** EOF *** 296