Makefile.winrecipe for target '项目1.exe' failed 出现这个问题是什么原因?怎么解决?
makefile 文件如下,求大佬帮忙:# Project: 项目1
# Makefile created by Dev-C++ 5.11
CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
OBJ = reservation.o input.o file.o sort.o search.o cancle.o modify.o count.o Exit.o yes_or_no.o read_line.o find_number.o code.o
LINKOBJ = reservation.o input.o file.o sort.o search.o cancle.o modify.o count.o Exit.o yes_or_no.o read_line.o find_number.o code.o
LIBS = -L"G:/Dev-Cpp/MinGW64/lib" -L"G:/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib" -static-libgcc -mwindows
INCS = -I"G:/Dev-Cpp/MinGW64/include" -I"G:/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"G:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include"
CXXINCS = -I"G:/Dev-Cpp/MinGW64/include" -I"G:/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"G:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include" -I"G:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++"
BIN = 项目1.exe
CXXFLAGS = $(CXXINCS)
CFLAGS = $(INCS)
RM = rm.exe -f
.PHONY: all all-before all-after clean clean-custom
all: all-before $(BIN) all-after
clean: clean-custom
${RM} $(OBJ) $(BIN)
[color=#999966]$(BIN): $(OBJ)
$(CPP) $(LINKOBJ) -o $(BIN) $(LIBS)[/color]
reservation.o: reservation.c
$(CPP) -c reservation.c -o reservation.o $(CXXFLAGS)
input.o: input.c
$(CPP) -c input.c -o input.o $(CXXFLAGS)
file.o: file.c
$(CPP) -c file.c -o file.o $(CXXFLAGS)
sort.o: sort.c
$(CPP) -c sort.c -o sort.o $(CXXFLAGS)
search.o: search.c
$(CPP) -c search.c -o search.o $(CXXFLAGS)
cancle.o: cancle.c
$(CPP) -c cancle.c -o cancle.o $(CXXFLAGS)
modify.o: modify.c
$(CPP) -c modify.c -o modify.o $(CXXFLAGS)
count.o: count.c
$(CPP) -c count.c -o count.o $(CXXFLAGS)
Exit.o: Exit.c
$(CPP) -c Exit.c -o Exit.o $(CXXFLAGS)
yes_or_no.o: yes_or_no.c
$(CPP) -c yes_or_no.c -o yes_or_no.o $(CXXFLAGS)
read_line.o: read_line.c
$(CPP) -c read_line.c -o read_line.o $(CXXFLAGS)
find_number.o: find_number.c
$(CPP) -c find_number.c -o find_number.o $(CXXFLAGS)
code.o: code.c
$(CPP) -c code.c -o code.o $(CXXFLAGS)
报错信息:
[Error] ld returned 1 exit status
recipe for target '项目1.exe' failed(报错的那一行我重点标出了)