source: trunk/packages/optimizer/src/pgapack/Makefile.in

Last change on this file was 3471, checked in by ldelgass, 11 years ago

Makefile fixes: make 'install' target always depend on 'all' target. This
ensures that an up to date build exists before installing, and also permits
the use of "make install" in place of "make all install" or "make all; make install". It doesn't affect the existing build scripts. Likewise, make 'distclean'
always depend on 'clean'. Remove empty contour objects example, as there is no
corresponding object class. Also declare all the standard targets 'all, install,
etc' in the .PHONY section for performance.

File size: 552 bytes
Line 
1
2srcdir          = @srcdir@
3prefix          = @prefix@
4exec_prefix     = @exec_prefix@
5bindir          = @bindir@
6libdir          = @libdir@
7datadir         = @datadir@
8datarootdir     = @datarootdir@
9mandir          = @mandir@
10includedir      = @includedir@
11
12PGAPACK         = @PGAPACK@
13
14.PHONY: all install test clean distclean pgapack
15
16all: pgapack
17
18pgapack:
19        $(MAKE) -C pgapack install
20install:
21        $(MAKE) -C install
22test:
23        #$(TCLSH) `@CYGPATH@ $(srcdir)/tests/all.tcl` $(TESTFLAGS)
24clean:
25        $(MAKE) -C pgapack clean
26
27distclean:
28        $(MAKE) -C pgapack spotless
29        $(RM) Makefile config.cache config.log config.status *~
30
Note: See TracBrowser for help on using the repository browser.