diff src/opencsg.mk @ 3014:b6c7244a2f66

Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
author John W. Eaton <jwe@octave.org>
date Sun, 02 Jun 2013 16:59:24 -0400
parents 100e618349f7
children 951da75fd09c
line wrap: on
line diff
--- a/src/opencsg.mk	Sun Jun 02 12:40:32 2013 -0400
+++ b/src/opencsg.mk	Sun Jun 02 16:59:24 2013 -0400
@@ -19,10 +19,10 @@
 define $(PKG)_BUILD
     cd '$(1)/src' && '$(TARGET)-qmake' src.pro
     $(MAKE) -C '$(1)/src' -j '$(JOBS)'
-    $(INSTALL) -m644 '$(1)/include/opencsg.h' '$(HOST_PREFIX)/include/'
-    $(INSTALL) -m644 '$(1)/lib/libopencsg.a' '$(HOST_PREFIX)/lib/'
+    $(INSTALL) -m644 '$(1)/include/opencsg.h' '$(HOST_INCDIR)'
+    $(INSTALL) -m644 '$(1)/lib/libopencsg.a' '$(HOST_LIBDIR)'
 
     cd '$(1)/example' && '$(TARGET)-qmake' example.pro
     $(MAKE) -C '$(1)/example' -j '$(JOBS)'
-    $(INSTALL) -m755 '$(1)/example/release/opencsgexample.exe' '$(HOST_PREFIX)/bin/test-opencsg.exe'
+    $(INSTALL) -m755 '$(1)/example/release/opencsgexample.exe' '$(HOST_BINDIR)/test-opencsg.exe'
 endef