2016-03-01 37 views
0

這樣的話題狀態 - 自動在Eclipse C/C++給編譯只有一個模塊......我在C/C Eclipse項目++來編譯生成的makefile與MinGW(海灣合作委員會)。現在我想使用makefile從命令行構建它。所以我檢查了makefile(Makefile,objects.mk,sources.mk和所有的subdir.mk-s)。問題是當我在一個合適的目錄(包含Makefile)中輸入和運行make時,它只編譯一個文件,在這個des.c文件中(它給出一個目標文件des.o)並且沒有任何錯誤地退出,我不知道爲什麼。雖然從eclipse構建成功將可執行文件作爲artefact。自動生成的makefile文件的Eclipse C/C++只給出了一個模塊的編譯

關於道歉的一堆附件,對這個問題的 - 但我認爲它是所有有關。

Toolcahin Settings

C/C++ Build Properties, automatically generated makefile 這編譯的文件 Here it exists after compiling on file 這裏後存在是一個Makefile:

################################################################################ 
# Automatically-generated file. Do not edit! 
################################################################################ 

-include ../makefile.init 

RM := rm -rf 

# All of the sources participating in the build are defined here 
-include sources.mk 
-include sim/xyssl/subdir.mk 
-include sim/subdir.mk 
-include hal_i386/subdir.mk 
-include subdir.mk 
-include objects.mk 

ifneq ($(MAKECMDGOALS),clean) 
ifneq ($(strip $(CC_DEPS)),) 
-include $(CC_DEPS) 
endif 
ifneq ($(strip $(C++_DEPS)),) 
-include $(C++_DEPS) 
endif 
ifneq ($(strip $(C_UPPER_DEPS)),) 
-include $(C_UPPER_DEPS) 
endif 
ifneq ($(strip $(CXX_DEPS)),) 
-include $(CXX_DEPS) 
endif 
ifneq ($(strip $(CPP_DEPS)),) 
-include $(CPP_DEPS) 
endif 
ifneq ($(strip $(C_DEPS)),) 
-include $(C_DEPS) 
endif 
endif 

-include ../makefile.defs 

# Add inputs and outputs from these tool invocations to the build variables 

# All Target 
all: my_sim_card.exe 

# Tool invocations 
my_sim_card.exe: $(OBJS) $(USER_OBJS) 
    @echo 'Building target: [email protected]' 
    @echo 'Invoking: MinGW C++ Linker' 
    g++ -o "my_sim_card.exe" $(OBJS) $(USER_OBJS) $(LIBS) 
    @echo 'Finished building target: [email protected]' 
    @echo ' ' 

# Other Targets 
clean: 
    -$(RM) $(CC_DEPS)$(C++_DEPS)$(EXECUTABLES)$(OBJS)$(C_UPPER_DEPS)$(CXX_DEPS)$(CPP_DEPS)$(C_DEPS) my_sim_card.exe 
    [email protected] ' ' 

.PHONY: all clean dependents 
.SECONDARY: 

-include ../makefile.targets 

我也試圖評論首先包括子目錄的(即包括SIM/xyssl /子目錄.mk)在這種情況下它編譯像這裏只STK_application.c 也許這是有關這個問題的原因 - 我已經安裝FIL es /文件夾作爲外部文件夾(上層文件夾超出工作區目錄),但是 - 再次 - 它在Eclipse中正常工作。另外我想說的是,它的行爲不管是否啓用或禁用選項Expand Env. Variable Refs in Makefile。 其他文件看起來像: sources.mk

################################################################################ 
# Automatically-generated file. Do not edit! 
################################################################################ 

C_UPPER_SRCS := 
CXX_SRCS := 
C++_SRCS := 
OBJ_SRCS := 
CC_SRCS := 
ASM_SRCS := 
CPP_SRCS := 
C_SRCS := 
S_UPPER_SRCS := 
O_SRCS := 
CC_DEPS := 
C++_DEPS := 
EXECUTABLES := 
OBJS := 
C_UPPER_DEPS := 
CXX_DEPS := 
CPP_DEPS := 
C_DEPS := 

# Every subdirectory with source files must be described here 
SUBDIRS := \ 
hal_i386 \ 
. \ 
sim \ 
sim/xyssl \ 

subdir.mk

################################################################################ 
# Automatically-generated file. Do not edit! 
################################################################################ 

# Add inputs and outputs from these tool invocations to the build variables 
C_SRCS += \ 
C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/xyssl/des.c 

OBJS += \ 
./sim/xyssl/des.o 

C_DEPS += \ 
./sim/xyssl/des.d 


# Each subdirectory must supply rules for building sources it contributes 
sim/xyssl/des.o: C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/xyssl/des.c 
    @echo 'Building file: $<' 
    @echo 'Invoking: GCC C Compiler' 
    gcc -DMIN_GW -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/hal_i386" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim/xyssl" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "[email protected]" "$<" 
    @echo 'Finished building: $<' 
    @echo ' ' 

subdir.mk

################################################################################ 
# Automatically-generated file. Do not edit! 
################################################################################ 

# Add inputs and outputs from these tool invocations to the build variables 
C_SRCS += \ 
C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/STK_application.c \ 
C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/aes.c \ 
C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/auth_comp128.c \ 
C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/auth_comp128_v23.c \ 
C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/auth_gost.c \ 
C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/commands_2G.c \ 
C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/commands_3G.c \ 
C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/commands_adm.c \ 
C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/commands_auth.c \ 
C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/commands_network_auth.c \ 
C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/commands_toolkit.c \ 
C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/fs.c \ 
C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/fstream.c \ 
C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/milenage.c \ 
C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/sim_access.c \ 
C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/sim_toolkit.c \ 
C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/sw.c \ 
C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/t0.c \ 
C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/tools.c 

OBJS += \ 
./sim/STK_application.o \ 
./sim/aes.o \ 
./sim/auth_comp128.o \ 
./sim/auth_comp128_v23.o \ 
./sim/auth_gost.o \ 
./sim/commands_2G.o \ 
./sim/commands_3G.o \ 
./sim/commands_adm.o \ 
./sim/commands_auth.o \ 
./sim/commands_network_auth.o \ 
./sim/commands_toolkit.o \ 
./sim/fs.o \ 
./sim/fstream.o \ 
./sim/milenage.o \ 
./sim/sim_access.o \ 
./sim/sim_toolkit.o \ 
./sim/sw.o \ 
./sim/t0.o \ 
./sim/tools.o 

C_DEPS += \ 
./sim/STK_application.d \ 
./sim/aes.d \ 
./sim/auth_comp128.d \ 
./sim/auth_comp128_v23.d \ 
./sim/auth_gost.d \ 
./sim/commands_2G.d \ 
./sim/commands_3G.d \ 
./sim/commands_adm.d \ 
./sim/commands_auth.d \ 
./sim/commands_network_auth.d \ 
./sim/commands_toolkit.d \ 
./sim/fs.d \ 
./sim/fstream.d \ 
./sim/milenage.d \ 
./sim/sim_access.d \ 
./sim/sim_toolkit.d \ 
./sim/sw.d \ 
./sim/t0.d \ 
./sim/tools.d 


# Each subdirectory must supply rules for building sources it contributes 
sim/STK_application.o: C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/STK_application.c 
    @echo 'Building file: $<' 
    @echo 'Invoking: GCC C Compiler' 
    gcc -DMIN_GW -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/hal_i386" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim/xyssl" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "[email protected]" "$<" 
    @echo 'Finished building: $<' 
    @echo ' ' 

sim/aes.o: C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/aes.c 
    @echo 'Building file: $<' 
    @echo 'Invoking: GCC C Compiler' 
    gcc -DMIN_GW -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/hal_i386" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim/xyssl" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "[email protected]" "$<" 
    @echo 'Finished building: $<' 
    @echo ' ' 

sim/auth_comp128.o: C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/auth_comp128.c 
    @echo 'Building file: $<' 
    @echo 'Invoking: GCC C Compiler' 
    gcc -DMIN_GW -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/hal_i386" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim/xyssl" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "[email protected]" "$<" 
    @echo 'Finished building: $<' 
    @echo ' ' 

sim/auth_comp128_v23.o: C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/auth_comp128_v23.c 
    @echo 'Building file: $<' 
    @echo 'Invoking: GCC C Compiler' 
    gcc -DMIN_GW -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/hal_i386" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim/xyssl" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "[email protected]" "$<" 
    @echo 'Finished building: $<' 
    @echo ' ' 

sim/auth_gost.o: C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/auth_gost.c 
    @echo 'Building file: $<' 
    @echo 'Invoking: GCC C Compiler' 
    gcc -DMIN_GW -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/hal_i386" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim/xyssl" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "[email protected]" "$<" 
    @echo 'Finished building: $<' 
    @echo ' ' 

sim/commands_2G.o: C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/commands_2G.c 
    @echo 'Building file: $<' 
    @echo 'Invoking: GCC C Compiler' 
    gcc -DMIN_GW -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/hal_i386" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim/xyssl" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "[email protected]" "$<" 
    @echo 'Finished building: $<' 
    @echo ' ' 

sim/commands_3G.o: C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/commands_3G.c 
    @echo 'Building file: $<' 
    @echo 'Invoking: GCC C Compiler' 
    gcc -DMIN_GW -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/hal_i386" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim/xyssl" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "[email protected]" "$<" 
    @echo 'Finished building: $<' 
    @echo ' ' 

sim/commands_adm.o: C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/commands_adm.c 
    @echo 'Building file: $<' 
    @echo 'Invoking: GCC C Compiler' 
    gcc -DMIN_GW -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/hal_i386" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim/xyssl" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "[email protected]" "$<" 
    @echo 'Finished building: $<' 
    @echo ' ' 

sim/commands_auth.o: C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/commands_auth.c 
    @echo 'Building file: $<' 
    @echo 'Invoking: GCC C Compiler' 
    gcc -DMIN_GW -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/hal_i386" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim/xyssl" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "[email protected]" "$<" 
    @echo 'Finished building: $<' 
    @echo ' ' 

sim/commands_network_auth.o: C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/commands_network_auth.c 
    @echo 'Building file: $<' 
    @echo 'Invoking: GCC C Compiler' 
    gcc -DMIN_GW -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/hal_i386" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim/xyssl" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "[email protected]" "$<" 
    @echo 'Finished building: $<' 
    @echo ' ' 

sim/commands_toolkit.o: C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/commands_toolkit.c 
    @echo 'Building file: $<' 
    @echo 'Invoking: GCC C Compiler' 
    gcc -DMIN_GW -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/hal_i386" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim/xyssl" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "[email protected]" "$<" 
    @echo 'Finished building: $<' 
    @echo ' ' 

sim/fs.o: C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/fs.c 
    @echo 'Building file: $<' 
    @echo 'Invoking: GCC C Compiler' 
    gcc -DMIN_GW -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/hal_i386" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim/xyssl" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "[email protected]" "$<" 
    @echo 'Finished building: $<' 
    @echo ' ' 

sim/fstream.o: C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/fstream.c 
    @echo 'Building file: $<' 
    @echo 'Invoking: GCC C Compiler' 
    gcc -DMIN_GW -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/hal_i386" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim/xyssl" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "[email protected]" "$<" 
    @echo 'Finished building: $<' 
    @echo ' ' 

sim/milenage.o: C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/milenage.c 
    @echo 'Building file: $<' 
    @echo 'Invoking: GCC C Compiler' 
    gcc -DMIN_GW -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/hal_i386" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim/xyssl" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "[email protected]" "$<" 
    @echo 'Finished building: $<' 
    @echo ' ' 

sim/sim_access.o: C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/sim_access.c 
    @echo 'Building file: $<' 
    @echo 'Invoking: GCC C Compiler' 
    gcc -DMIN_GW -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/hal_i386" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim/xyssl" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "[email protected]" "$<" 
    @echo 'Finished building: $<' 
    @echo ' ' 

sim/sim_toolkit.o: C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/sim_toolkit.c 
    @echo 'Building file: $<' 
    @echo 'Invoking: GCC C Compiler' 
    gcc -DMIN_GW -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/hal_i386" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim/xyssl" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "[email protected]" "$<" 
    @echo 'Finished building: $<' 
    @echo ' ' 

sim/sw.o: C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/sw.c 
    @echo 'Building file: $<' 
    @echo 'Invoking: GCC C Compiler' 
    gcc -DMIN_GW -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/hal_i386" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim/xyssl" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "[email protected]" "$<" 
    @echo 'Finished building: $<' 
    @echo ' ' 

sim/t0.o: C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/t0.c 
    @echo 'Building file: $<' 
    @echo 'Invoking: GCC C Compiler' 
    gcc -DMIN_GW -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/hal_i386" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim/xyssl" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "[email protected]" "$<" 
    @echo 'Finished building: $<' 
    @echo ' ' 

sim/tools.o: C:/Users/ruslan/Downloads/SIM/1.USIM_sources/trunk/sim/tools.c 
    @echo 'Building file: $<' 
    @echo 'Invoking: GCC C Compiler' 
    gcc -DMIN_GW -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/hal_i386" -I"C:\Users\ruslan\Downloads\SIM\workspace.mingw../../1.USIM_sources/trunk/sim/xyssl" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "[email protected]" "$<" 
    @echo 'Finished building: $<' 
    @echo ' ' 

編輯:我也試圖與GNU32製作工具建設除了MinGW Make - 同樣的問題。

在此先感謝

回答

1

運行make all而不是make。

如果你運行make沒有任何目標,則默認爲在生成文件,在這種情況下是SIM/xyssl/des.o提到的第一個目標。當你從Eclipse運行makefile時,我懷疑它實際運行make all。

+0

那是詭計,讓'工作all'對我來說,幹得好,謝謝。 –

相關問題