diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2009-12-07 19:15:37 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2009-12-07 19:15:37 +0000 |
| commit | b34b7a8d2bd39323caabbcfed2bb40add0660d86 (patch) | |
| tree | ad1d123879139787db93979962bc331eead87355 /makeinclude.in | |
| parent | b2cffc688ea7abbddabc9ed23deea1921f59ac9d (diff) | |
Some fixes for the Cocoa port
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6952 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'makeinclude.in')
| -rw-r--r-- | makeinclude.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/makeinclude.in b/makeinclude.in index 999d632d4..6d8249d72 100644 --- a/makeinclude.in +++ b/makeinclude.in @@ -152,7 +152,7 @@ UNINSTALL_DESKTOP = @UNINSTALL_DESKTOP@ .cxx.o: echo Compiling $<... - @if [ $< = Fl.cxx ]; then \ + @if [ `uname` = Darwin -a $< = Fl.cxx ]; then \ $(CXX) -I.. $(ARCHFLAGS) @PNGINC@ @JPEGINC@ @ZLIBINC@ $(CXXFLAGS) -x objective-c++ -c $< -o $@; \ else \ $(CXX) -I.. $(ARCHFLAGS) @PNGINC@ @JPEGINC@ @ZLIBINC@ $(CXXFLAGS) -c $< -o $@; \ |
