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:
parent
a0af2510b6
commit
e1cff96f1f
@ -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
|
||||
|
||||
|
@ -53,6 +53,9 @@ CXX = @CXX@
|
||||
CC = @CC@
|
||||
MAKEDEPEND = @MAKEDEPEND@
|
||||
|
||||
# (Windows) resource compiler
|
||||
RC = @RC@
|
||||
|
||||
# flags for C++ compiler:
|
||||
ARCHFLAGS = @ARCHFLAGS@
|
||||
OPTIM = @OPTIM@
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user