From 0bacb8e6249785dbd7892a9e5b66133068ffe506 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 4 Dec 2005 00:32:31 +0000 Subject: [PATCH] Separate WIN32 and normal build rules so we can create a resource object file to link into the executable. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4682 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/Makefile b/test/Makefile index bfd08215b..dbce0c021 100644 --- a/test/Makefile +++ b/test/Makefile @@ -333,12 +333,17 @@ scroll$(EXEEXT): scroll.o subwindow$(EXEEXT): subwindow.o -sudoku$(EXEEXT): sudoku.o +sudoku: sudoku.o echo Linking $@... $(CXX) -I.. $(CXXFLAGS) sudoku.o -o $@ $(LINKFLTKIMG) $(LDLIBS) $(CP) sudoku$(EXEEXT) sudoku.app/Contents/MacOS $(POSTBUILD) $@ ../FL/mac.r +sudoku.exe: sudoku.o sudoku.rc + echo Linking $@... + windres sudoku.rc sudokures.o + $(CXX) -I.. $(CXXFLAGS) sudoku.o sudokures.o -o $@ $(LINKFLTKIMG) $(LDLIBS) + symbols$(EXEEXT): symbols.o tabs$(EXEEXT): tabs.o