Added Windows Resource Compiler ("RC") to configure/makeinclude for

easier cross-compiling (not yet fully supported).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7973 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser 2010-12-08 09:48:07 +00:00
parent a0af2510b6
commit e1cff96f1f
3 changed files with 8 additions and 1 deletions

View File

@ -416,6 +416,10 @@ fi
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

View File

@ -53,6 +53,9 @@ CXX = @CXX@
CC = @CC@
MAKEDEPEND = @MAKEDEPEND@
# (Windows) resource compiler
RC = @RC@
# flags for C++ compiler:
ARCHFLAGS = @ARCHFLAGS@
OPTIM = @OPTIM@

View File

@ -435,7 +435,7 @@ sudoku: sudoku.o
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