Forum posts for mrt.exe

g++.exe [Warning] linker input file unused because linking not done

I'm having some trouble with a C Makefile.
It happens when I complile while opening the project file.

Here are the error:


[Warning] overriding recipe for target `DuLieuNganHang.o'

[Warning] ignoring old recipe for target `DuLieuNganHang.o'

g++.exe [Warning] linker input file unused because linking not done

g++.exe g++.exe D:TinNCMRTg++.exe DuLieuNganHang.o: No such file or
directory.

g++.exe g++.exe D:TinNCMRTg++.exe DuLieuNganHang.o: No such file or
directory.

D:TinNCMRTMakefile.win [Error] [MRT.exe] Error 1


Here are the contents of the Makefile:

# Project: MRT
# Makefile created by Dev-C++ 5.3.0.4

CPP = g++.exe -D__DEBUG__
CC = gcc.exe -D__DEBUG__
WINDRES = windres.exe
OBJ = main.o MRT.o TaiKhoan.o Tien.o HoaDon.o GiaoDich.o NhatKyGiaoDichMRT.o DuLieuNganHang.o PhanCung.o DuLieuNganHang.o $(RES)
LINKOBJ = main.o MRT.o TaiKhoan.o Tien.o HoaDon.o GiaoDich.o NhatKyGiaoDichMRT.o DuLieuNganHang.o PhanCung.o DuLieuNganHang.o $(RES)
LIBS = -L'C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib' -static-libgcc -g3
INCS = -I'C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include'
CXXINCS = -I'C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include'
BIN = MRT.exe
CXXFLAGS = $(CXXINCS) -g3
CFLAGS = $(INCS) -g3
RM = rm -f

.PHONY: all all-before all-after clean clean-custom

all: all-before $(BIN) all-after


clean: clean-custom
${RM} $(OBJ) $(BIN)

$(BIN): $(OBJ)
$(CPP) $(LINKOBJ) -o $(BIN) $(LIBS)

main.o: main.cpp
$(CPP) -c main.cpp -o main.o $(CXXFLAGS)

MRT.o: MRT.cpp
$(CPP) -c MRT.cpp -o MRT.o $(CXXFLAGS)

TaiKhoan.o: TaiKhoan.cpp
$(CPP) -c TaiKhoan.cpp -o TaiKhoan.o $(CXXFLAGS)

Tien.o: Tien.cpp
$(CPP) -c Tien.cpp -o Tien.o $(CXXFLAGS)

HoaDon.o: HoaDon.cpp
$(CPP) -c HoaDon.cpp -o HoaDon.o $(CXXFLAGS)

GiaoDich.o: GiaoDich.cpp
$(CPP) -c GiaoDich.cpp -o GiaoDich.o $(CXXFLAGS)

NhatKyGiaoDichMRT.o: NhatKyGiaoDichMRT.cpp
$(CPP) -c NhatKyGiaoDichMRT.cpp -o NhatKyGiaoDichMRT.o $(CXXFLAGS)

DuLieuNganHang.o: DuLieuNganHang.cpp
$(CPP) -c DuLieuNganHang.cpp -o DuLieuNganHang.o $(CXXFLAGS)

PhanCung.o: PhanCung.cpp
$(CPP) -c PhanCung.cpp -o PhanCung.o $(CXXFLAGS)

DuLieuNganHang.o: DuLieuNganHang.txt
$(CPP) -c DuLieuNganHang.txt -o DuLieuNganHang.o $(CXXFLAGS)


Thank you!

View complete forum thread with replies

Other posts related to mrt.exe

See Related Forum Messages: Follow the Links Below to View Complete Thread

“mrt.exe._p” and “mrstub.exe” files
g++.exe [Warning] linker input file unused because linking not done

What is the carbon footprint of your coffee?

Is it low? Is it high? Can this things really kill the planet Earth? Maybe the answer will surprise you. Maybe not.