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