Last change
on this file was
5225,
checked in by westram, 17 years ago
|
- changed names of linker commands
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.7 KB
|
Line | |
---|
1 | # INCLUDE und GLOBALS MAIN CC cflags werden von aussen uebergeben |
---|
2 | |
---|
3 | .SUFFIXES: .c .cxx .o .h .depend |
---|
4 | |
---|
5 | CPP_OBJECTS = |
---|
6 | C_OBJECTS = base.o defines.o frand.o readcfg.o rns.o sim.o simcfg.o spreadin.o |
---|
7 | OBJECTS = $(CPP_OBJECTS) $(C_OBJECTS) |
---|
8 | |
---|
9 | $(MAIN): $(CPP_OBJECTS) $(C_OBJECTS) |
---|
10 | $(LINK_STATIC_LIB) $(MAIN) $(CPP_OBJECTS) $(C_OBJECTS) |
---|
11 | |
---|
12 | .cxx.o: |
---|
13 | $(CPP) $(cflags) -c $< $(CPPINCLUDES) |
---|
14 | |
---|
15 | .c.o: |
---|
16 | $(ACC) $(cflags) -c $< $(CPPINCLUDES) |
---|
17 | |
---|
18 | clean: |
---|
19 | rm -f $(OBJECTS) *.a |
---|
20 | |
---|
21 | DEPENDS = $(OBJECTS:.o=.depend) |
---|
22 | depends: $(DEPENDS) |
---|
23 | @cat $(DEPENDS) | grep -v '^#' >>Makefile |
---|
24 | @rm $(DEPENDS) |
---|
25 | $(DEPENDS): depend.init |
---|
26 | depend.init: |
---|
27 | $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies |
---|
28 | .c.depend: |
---|
29 | $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
---|
30 | .cxx.depend: |
---|
31 | $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
---|
32 | |
---|
33 | # DO NOT DELETE |
---|
34 | |
---|
35 | # Do not add dependencies manually - use 'make depend' in $ARBHOME |
---|
36 | # For formatting issues see SOURCE_TOOLS/fix_depends.pl |
---|
37 | |
---|
38 | base.o: base.h |
---|
39 | base.o: defines.h |
---|
40 | base.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
41 | |
---|
42 | defines.o: defines.h |
---|
43 | defines.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
44 | |
---|
45 | frand.o: defines.h |
---|
46 | frand.o: frand.h |
---|
47 | frand.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
48 | |
---|
49 | readcfg.o: defines.h |
---|
50 | readcfg.o: readcfg.h |
---|
51 | readcfg.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
52 | |
---|
53 | rns.o: base.h |
---|
54 | rns.o: defines.h |
---|
55 | rns.o: frand.h |
---|
56 | rns.o: rns.h |
---|
57 | rns.o: simcfg.h |
---|
58 | rns.o: spreadin.h |
---|
59 | rns.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
60 | |
---|
61 | sim.o: base.h |
---|
62 | sim.o: defines.h |
---|
63 | sim.o: frand.h |
---|
64 | sim.o: rns.h |
---|
65 | sim.o: simcfg.h |
---|
66 | sim.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
67 | |
---|
68 | simcfg.o: base.h |
---|
69 | simcfg.o: defines.h |
---|
70 | simcfg.o: frand.h |
---|
71 | simcfg.o: readcfg.h |
---|
72 | simcfg.o: rns.h |
---|
73 | simcfg.o: simcfg.h |
---|
74 | simcfg.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
75 | |
---|
76 | spreadin.o: defines.h |
---|
77 | spreadin.o: spreadin.h |
---|
78 | spreadin.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
Note: See
TracBrowser
for help on using the repository browser.