source: trunk/packages/Makefile.in @ 4616

Last change on this file since 4616 was 3471, checked in by ldelgass, 12 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: 559 bytes
Line 
1
2bindir          = @bindir@
3datadir         = @datadir@
4datarootdir     = @datarootdir@
5exec_prefix     = @exec_prefix@
6includedir      = @includedir@
7libdir          = @libdir@
8mandir          = @mandir@
9prefix          = @prefix@
10srcdir          = @srcdir@
11
12INSTALL         = @INSTALL@
13SHELL           = @SHELL@
14RM              = rm -f
15VPATH           = $(srcdir)
16
17.PHONY: all install clean distclean optimizer
18
19all:
20
21optimizer:
22        $(MAKE) -C optimizer/src all
23install:
24        $(MAKE) -C optimizer/src install
25
26clean:
27        $(MAKE) -C optimizer/src clean
28
29distclean:
30        $(MAKE) -C optimizer/src distclean
31        $(RM) Makefile *~
32
Note: See TracBrowser for help on using the repository browser.