[Rpcemu] Patch to mingw makefile

Sprow webpages at sprow.co.uk
Wed Jan 22 23:51:03 PST 2014


Hi,
Since the Windows bits are now in a subdirectory the mingw makefile fails
when running the windres tool as it can't find the icon. I've added the
'win' directory to its search path (see patch),
Sprow.


diff -r 8e9292da9ab1 src/Makefile.mingw
--- a/src/Makefile.mingw	Mon Dec 09 17:47:07 2013 +0000
+++ b/src/Makefile.mingw	Thu Jan 23 07:43:15 2014 +0000
@@ -67,7 +67,7 @@
 	$(LD) $(LDFLAGS) -o $@ $+ $(LIBS)
 
 win\acorn.o: win\acorn.rc win\rpcemu.ico win\rpcemu.manifest
-	windres -O COFF win\acorn.rc win\acorn.o
+	windres -O COFF -I win win\acorn.rc win\acorn.o
 
 config.h: config.h.mingw
 	copy /B config.h.mingw config.h




More information about the Rpcemu mailing list