0

Arduino DueでEclipseを使用してUbuntu 12.04でコードを構築しようとしています。コンソールにエラーが表示されるたびに-

すべてを作る

make: ***ArduinoLib5.aによって必要とされる、ターゲットを作成する規則はありませんall。止まる。

私のメイクファイルは次のとおりです: ご覧になり、エラーを修正する方法を教えてください。

ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
ifneq ($(strip $(ASM_DEPS)),)
-include $(ASM_DEPS)
endif
ifneq ($(strip $(CC_DEPS)),)
-include $(CC_DEPS)
endif
ifneq ($(strip $(CPP_DEPS)),)
-include $(CPP_DEPS)
endif
ifneq ($(strip $(CXX_DEPS)),)
-include $(CXX_DEPS)
endif
ifneq ($(strip $(C_UPPER_DEPS)),)
-include $(C_UPPER_DEPS)
endif
ifneq ($(strip $(S_UPPER_DEPS)),)
-include $(S_UPPER_DEPS)
endif
endif

-include ../makefile.defs

# Add inputs and outputs from these tool invocations to the build variables 
EXECUTABLES += \
USER_OBJS \

SECONDARY_FLASH += \
ArduinoLib5.hex \

SECONDARY_LIST += \
ArduinoLib5.lst \

SECONDARY_SIZE += \
ArduinoLib5.siz \


    # All Target
    all: ArduinoLib5.a

    # Tool invocations
        @echo 'No tool found that can build the extension specified with the build artifact name $@'
    USER_OBJS: $(OBJS) $(USER_OBJS)
        @echo 'Invoking: ARM Sourcery Linux GCC C++ Linker'
        arm-none-eabi-g++ -Wl,-Map,ArduinoLib5.map -mcpu=cortex-m3 -mthumb -g -ggdb -o "USER_OBJS" $(OBJS) $(USER_OBJS) $(LIBS)
        @echo 'Finished building: $@'
        @echo ' '

    ArduinoLib5.hex: ArduinoLib5.a
        @echo 'Invoking: ARM Sourcery Linux GNU Create Flash Image'
        arm-none-eabi-objcopy -O ihex ArduinoLib5.a  "ArduinoLib5.hex"
        @echo 'Finished building: $@'
        @echo ' '

    ArduinoLib5.lst: ArduinoLib5.a
        @echo 'Invoking: ARM Sourcery Linux GNU Create Listing'
        arm-none-eabi-objdump -h -S ArduinoLib5.a > "ArduinoLib5.lst"
        @echo 'Finished building: $@'
        @echo ' '

    ArduinoLib5.siz: ArduinoLib5.a
        @echo 'Invoking: ARM Sourcery Linux GNU Print Size'
        arm-none-eabi-size  --format=berkeley ArduinoLib5.a
        @echo 'Finished building: $@'
        @echo ' '

    # Other Targets
    clean:
        -$(RM) $(OBJS)$(C_DEPS)$(SECONDARY_FLASH)$(CXX_DEPS)$(S_UPPER_DEPS)$(SECONDARY_LIST)$(C++_DEPS)$(SECONDARY_SIZE)$(ASM_DEPS)$(CC_DEPS)$(CPP_DEPS)$(EXECUTABLES)$(C_UPPER_DEPS) ArduinoLib5.a
        -@echo ' '

    .PHONY: all clean dependents
    .SECONDARY:

    -include ../makefile.targets 
4

1 に答える 1