From: <ad...@us...> - 2008-03-27 13:40:12
|
Revision: 4815 http://octave.svn.sourceforge.net/octave/?rev=4815&view=rev Author: adb014 Date: 2008-03-27 06:40:17 -0700 (Thu, 27 Mar 2008) Log Message: ----------- Another windows build fix Modified Paths: -------------- trunk/octave-forge/main/fixed/examples/Makefile Modified: trunk/octave-forge/main/fixed/examples/Makefile =================================================================== --- trunk/octave-forge/main/fixed/examples/Makefile 2008-03-27 11:45:14 UTC (rev 4814) +++ trunk/octave-forge/main/fixed/examples/Makefile 2008-03-27 13:40:17 UTC (rev 4815) @@ -9,6 +9,16 @@ INCLUDES = -I../src DEFINES = +ifneq (,$(findstring cygwin,$(canonical_host_type))) + MOFLAGS = -L../src -lfixed +endif +ifneq (,$(findstring mingw,$(canonical_host_type))) + MOFLAGS = -L../src -lfixed +endif +ifneq (,$(findstring msdosmsvc,$(canonical_host_type))) + MOFLAGS = -L../src -lfixed +endif + .PHONY: all clean count %.oct : %.cc .SUFFIXES: @@ -33,7 +43,7 @@ %.oct: %.d %.o @echo "Linking $@"; \ - $(MKOCTFILE) $(@:.oct=.o) -o $@ + $(MKOCTFILE) $(MOFLAGS) $(@:.oct=.o) -o $@ %.d: %.cc @echo "Depending $<"; \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |