Last change
on this file was
8247,
checked in by westram, 14 years ago
|
- completes [8246]
- main-wrapper-objects
- compile with normal c-flags (fixes nightly cross-compilation error)
- compile for C and C++ (allows to link vs leftover C-compilations (e.g. arb_a2ps))
- changed main→ARB_main in TOOLS (fixes other broken nightly builds)
- remove experimental entry-point from unit-test-executables (leftover from failed approach, execution via custom entry-point does not init static data at all)
- corrected link printouts
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
981 bytes
|
Line | |
---|
1 | .SUFFIXES: .o .cxx |
---|
2 | |
---|
3 | all: |
---|
4 | @echo "use make clean" |
---|
5 | |
---|
6 | # -------------------------------------------------------------------------------- |
---|
7 | |
---|
8 | OBJECTS=arb_main_cpp.o arb_main_c.o |
---|
9 | |
---|
10 | arb_main_cpp.o: arb_main.cxx Makefile |
---|
11 | $(CPP) $(cflags) -c $< -o $@ $(CPPINCLUDES) $(POST_COMPILE) |
---|
12 | |
---|
13 | arb_main_c.o: arb_main.c arb_main.cxx Makefile |
---|
14 | $(ACC) $(cflags) -c $< -o $@ $(CPPINCLUDES) $(POST_COMPILE) |
---|
15 | |
---|
16 | mainwrapper: $(OBJECTS) |
---|
17 | |
---|
18 | # -------------------------------------------------------------------------------- |
---|
19 | |
---|
20 | clean: |
---|
21 | rm -f *.stamp valgrind2grep.lst postcompile.sav $(OBJECTS) |
---|
22 | |
---|
23 | valgrind_update: |
---|
24 | ./arb_valgrind update |
---|
25 | |
---|
26 | # -------------------------------------------------------------------------------- |
---|
27 | |
---|
28 | dep.clean: |
---|
29 | rm -f dep.* |
---|
30 | |
---|
31 | % : %.tmp |
---|
32 | ./mv_if_diff $< $@ |
---|
33 | |
---|
34 | dep.alltargets.tmp: |
---|
35 | ./needed_libs.pl -U -I -F CORE/libCORE.so | sed -e 's/ /\n/g' >$@ |
---|
36 | |
---|
37 | dep.libtargets: dep.alltargets |
---|
38 | grep -E '\.(a|o|so)' $< > $@ || true |
---|
39 | |
---|
40 | dep.4dummy: dep.libtargets |
---|
41 | ./gen_dep.pl dummy <$< >$@ |
---|
42 | |
---|
43 | libdepends: dep.4dummy |
---|
44 | |
---|
45 | |
---|
Note: See
TracBrowser
for help on using the repository browser.