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
This commit is contained in:
Michael R Sweet 2005-12-04 00:32:31 +00:00
parent 0c91e35748
commit 0bacb8e624

View File

@ -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