From: <jgp...@us...> - 2012-10-01 10:14:34
|
Revision: 11094 http://octave.svn.sourceforge.net/octave/?rev=11094&view=rev Author: jgpallero Date: 2012-10-01 10:14:28 +0000 (Mon, 01 Oct 2012) Log Message: ----------- Add LDFLAGS to compilation order in OctPROJ Modified Paths: -------------- trunk/octave-forge/main/octproj/src/Makefile Modified: trunk/octave-forge/main/octproj/src/Makefile =================================================================== --- trunk/octave-forge/main/octproj/src/Makefile 2012-10-01 09:15:16 UTC (rev 11093) +++ trunk/octave-forge/main/octproj/src/Makefile 2012-10-01 10:14:28 UTC (rev 11094) @@ -13,7 +13,7 @@ #Flags for the linker LDFLAGS=-lproj #Export flags for compilers and linker -export CFLAGS CXXFLAGS LDFLAGS +export CFLAGS CXXFLAGS .PHONY: all all: compile clean @@ -21,11 +21,11 @@ .PHONY: compile compile: $(CC) -c -v projwrap.c -o projwrap.o - $(CC) -s -v _op_transform.cc projwrap.o - $(CC) -s _op_fwd.cc projwrap.o - $(CC) -s _op_inv.cc projwrap.o - $(CC) -s _op_geod2geoc.cc - $(CC) -s _op_geoc2geod.cc + $(CC) -s -v _op_transform.cc projwrap.o $(LDFLAGS) + $(CC) -s _op_fwd.cc projwrap.o $(LDFLAGS) + $(CC) -s _op_inv.cc projwrap.o $(LDFLAGS) + $(CC) -s _op_geod2geoc.cc $(LDFLAGS) + $(CC) -s _op_geoc2geod.cc $(LDFLAGS) .PHONY: clean clean: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |