From 3d3e92bfdb022bf6f4abcd0271409f7f485aec23 Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Thu, 17 Aug 2023 19:48:55 +0800 Subject: [PATCH] fix: windows project failed to compile. --- RedPandaIDE/compiler/projectcompiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RedPandaIDE/compiler/projectcompiler.cpp b/RedPandaIDE/compiler/projectcompiler.cpp index 5fa82921..56ab9e6c 100644 --- a/RedPandaIDE/compiler/projectcompiler.cpp +++ b/RedPandaIDE/compiler/projectcompiler.cpp @@ -231,7 +231,7 @@ void ProjectCompiler::writeMakeDefines(QFile &file) #endif if (!objResFile.isEmpty()) { writeln(file,"RES = " + objResFile2); - writeln(file,"OBJ = " + Objects); + writeln(file,"OBJ = " + Objects + " $(RES)"); writeln(file,"LINKOBJ = " + LinkObjects + " " + objResFile); #ifdef Q_OS_WIN writeln(file,"CLEANOBJ = " + cleanObjects +