Author: AlbrechtS
Date: 2010-12-08 01:48:07 -0800 (Wed, 08 Dec 2010)
New Revision: 7973
Log:
Added Windows Resource Compiler ("RC") to configure/makeinclude for
easier cross-compiling (not yet fully supported).
Modified:
branches/branch-1.3/configure.in
branches/branch-1.3/makeinclude.in
branches/branch-1.3/test/Makefile
Modified: branches/branch-1.3/configure.in
===================================================================
--- branches/branch-1.3/configure.in 2010-12-08 09:24:02 UTC (rev 7972)
+++ branches/branch-1.3/configure.in 2010-12-08 09:48:07 UTC (rev 7973)
@@ -416,6 +416,10 @@
AC_SUBST(LIBCOMMAND)
+dnl how to compile (Windows) resource files
+dnl this will only be used to create Windows .exe files
+AC_PATH_PROG(RC,windres)
+
dnl Architecture checks...
AC_C_BIGENDIAN
Modified: branches/branch-1.3/makeinclude.in
===================================================================
--- branches/branch-1.3/makeinclude.in 2010-12-08 09:24:02 UTC (rev 7972)
+++ branches/branch-1.3/makeinclude.in 2010-12-08 09:48:07 UTC (rev 7973)
@@ -53,6 +53,9 @@
CC = @CC@
MAKEDEPEND = @MAKEDEPEND@
+# (Windows) resource compiler
+RC = @RC@
+
# flags for C++ compiler:
ARCHFLAGS = @ARCHFLAGS@
OPTIM = @OPTIM@
Modified: branches/branch-1.3/test/Makefile
===================================================================
--- branches/branch-1.3/test/Makefile 2010-12-08 09:24:02 UTC (rev 7972)
+++ branches/branch-1.3/test/Makefile 2010-12-08 09:48:07 UTC (rev 7973)
@@ -435,7 +435,7 @@
sudoku.exe: sudoku.o sudoku.rc
echo Linking $...@...
- windres sudoku.rc sudokures.o
+ $(RC) sudoku.rc sudokures.o
$(CXX) $(ARCHFLAGS) $(LDFLAGS) sudoku.o sudokures.o -o $@ $(AUDIOLIBS)
$(LINKFLTKIMG) $(LDLIBS)
symbols$(EXEEXT): symbols.o
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit