From 1a0383df0b3671473d3e6ce4339e6493ac401882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Sun, 28 Dec 2003 14:38:50 +0000 Subject: [PATCH] Use mingw32-windres when cross-compiling svn path=/trunk/; revision=7292 --- reactos/subsys/system/explorer/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reactos/subsys/system/explorer/Makefile b/reactos/subsys/system/explorer/Makefile index 83c4b21723b..3c34a3f061c 100644 --- a/reactos/subsys/system/explorer/Makefile +++ b/reactos/subsys/system/explorer/Makefile @@ -8,11 +8,13 @@ ifeq ($(HOST),mingw32-linux) CC = mingw32-gcc CXX = mingw32-g++ LINK = mingw32-g++ +RC = mingw32-windres CD_PREFIX := ./ else CC = gcc CXX = g++ LINK = g++ +RC = windres CD_PREFIX := endif @@ -101,7 +103,7 @@ $(TARGET): $(OBJECTS) $(PROGRAM)$(RES_SUFFIX) $(LINK) $(LFLAGS) -o $@ $^ $(addprefix -l,$(LIBS)) explorer$(RES_SUFFIX): $(PROGRAM)_intres.rc - windres $(RCFLAGS) -o $@ $^ + $(RC) $(RCFLAGS) -o $@ $^ clean: $(TOOLS_PATH)/rdel $(TARGET) $(OBJECTS) $(PROGRAM)$(RES_SUFFIX)