Last change
on this file since 6 was
6,
checked in by cecile, 13 years ago
|
Ajout de glus pour dev VIS mod
|
-
Property svn:executable set to
*
|
File size:
1022 bytes
|
Line | |
---|
1 | # FileName [dependency.make] |
---|
2 | # |
---|
3 | # PackageName [vis] |
---|
4 | # |
---|
5 | # Synopsis [Makefile to automatically create the dependency files.] |
---|
6 | # |
---|
7 | # Description [This file is called from the main Makefile.] |
---|
8 | # |
---|
9 | # SeeAlso [Makefile.in] |
---|
10 | # |
---|
11 | # Author [Abelardo Pardo <abel@boulder.colorado.edu>] |
---|
12 | # |
---|
13 | # Copyright [This file was created at the University of Colorado at Boulder. |
---|
14 | # The University of Colorado at Boulder makes no warranty about the suitability |
---|
15 | # of this software for any purpose. It is presented on an AS IS basis.] |
---|
16 | # |
---|
17 | # Revision [$Id: dependency.make,v 1.3 1998/09/18 18:30:23 hsv Exp $] |
---|
18 | |
---|
19 | include $(PKGNAME).make |
---|
20 | |
---|
21 | ifdef DEPENDENCYFILES |
---|
22 | $(PKGNAME).d : $(DEPENDENCYFILES) $(HEADERS) $(PKGNAME).make |
---|
23 | @echo -n "Dependency file $(PKGNAME).d->" |
---|
24 | @$(CC) -MM $(CFLAGS) $(AC_FLAGS) $(INCLUDEDIRS) \ |
---|
25 | $(filter %.c, $^) | \ |
---|
26 | sed 's/^[a-zA-Z0-9_]*\.o[ :]*/$(objectdir)\/&/g' > $@ |
---|
27 | @echo "Created." |
---|
28 | else |
---|
29 | $(PKGNAME).d : |
---|
30 | @echo "No dependency files given in $(PKGNAME).make" |
---|
31 | @echo "Define the variable DEPENDENCYFILES to create the dependencies" |
---|
32 | endif |
---|
Note: See
TracBrowser
for help on using the repository browser.