source: trunk/dports/math/lp_solve/files/Makefile @ 148627

Last change on this file since 148627 was 148627, checked in by ryandesign@…, 4 years ago

lp_solve: update to 5.5.2.3

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 536 bytes
Line 
1# $Id: Makefile 148627 2016-05-13 03:50:40Z ryandesign@macports.org $
2
3SUBDIRS = lpsolve55 lp_solve
4
5.PHONY: all install $(SUBDIRS)
6
7all: $(SUBDIRS)
8
9$(SUBDIRS):
10        cd "$@" && c="$(CC)" prefix="$(PREFIX)" sh -x ./ccc.osx
11
12install:
13        install -m 755 -d $(DESTDIR)$(PREFIX)/bin
14        install -m 755 lp_solve/bin/*/lp_solve $(DESTDIR)$(PREFIX)/bin/
15        install -m 755 -d $(DESTDIR)$(PREFIX)/lib
16        install -m 755 lpsolve55/bin/*/liblpsolve55.a lpsolve55/bin/*/liblpsolve55.dylib $(DESTDIR)$(PREFIX)/lib/
17        install -m 755 -d $(DESTDIR)$(PREFIX)/include/lpsolve
18        install -m 644 *.h $(DESTDIR)$(PREFIX)/include/lpsolve/
Note: See TracBrowser for help on using the repository browser.