summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-12-04 00:32:31 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-12-04 00:32:31 +0000
commit0bacb8e6249785dbd7892a9e5b66133068ffe506 (patch)
tree3fcf9e28ea92b82e4667ece9669f00046a97dffe /test
parent0c91e35748e3d62994161a8cb083c450fab68a14 (diff)
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
Diffstat (limited to 'test')
-rw-r--r--test/Makefile7
1 files changed, 6 insertions, 1 deletions
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