|
Last change
on this file was
8246,
checked in by westram, 14 years ago
|
- eliminated several main()'s from lib/obj-code
- replaced by ARB_main
- link executable with wrapper-object (main→ARB_main)
- unit-tests now use their own main()
- this ensures that all static data is initialized when the unit-test starts (previous behavior was working, but undefined)
- all tests pass (versus [8243])
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | # INCLUDE und GLOBALS MAIN CC cflags werden von aussen uebergeben |
|---|
| 2 | |
|---|
| 3 | .SUFFIXES: .o .cxx .depend |
|---|
| 4 | |
|---|
| 5 | OBJECTS = mkptypes.o |
|---|
| 6 | BINARY = aisc_mkpt |
|---|
| 7 | |
|---|
| 8 | $(MAIN): $(BINARY) |
|---|
| 9 | |
|---|
| 10 | $(BINARY): $(OBJECTS) |
|---|
| 11 | $(LINK_EXECUTABLE) $@ $(use_ARB_main) $(OBJECTS) $(EXECLIBS) |
|---|
| 12 | |
|---|
| 13 | .cxx.o: |
|---|
| 14 | $(CPP) $(cflags) -c $< $(CPPINCLUDES) $(POST_COMPILE) |
|---|
| 15 | |
|---|
| 16 | clean: |
|---|
| 17 | rm -f $(OBJECTS) $(BINARY) |
|---|
| 18 | |
|---|
| 19 | #depends: |
|---|
| 20 | # @echo "No depends here" |
|---|
| 21 | |
|---|
| 22 | DEPENDS = $(OBJECTS:.o=.depend) |
|---|
| 23 | depends: $(DEPENDS) |
|---|
| 24 | @cat $(DEPENDS) | grep -v '^#' >>Makefile |
|---|
| 25 | @rm $(DEPENDS) |
|---|
| 26 | $(DEPENDS): depend.init |
|---|
| 27 | depend.init: |
|---|
| 28 | $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies |
|---|
| 29 | .cxx.depend: |
|---|
| 30 | $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
|---|
| 31 | |
|---|
| 32 | |
|---|
| 33 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
|---|
| 34 | |
|---|
| 35 | # Do not add dependencies manually - use 'make depend' in $ARBHOME |
|---|
| 36 | # For formatting issues see SOURCE_TOOLS/fix_depends.pl |
|---|
| 37 | |
|---|
| 38 | mkptypes.o: $(ARBHOME)/INCLUDE/arb_assert.h |
|---|
| 39 | mkptypes.o: $(ARBHOME)/INCLUDE/arbtools.h |
|---|
| 40 | mkptypes.o: $(ARBHOME)/INCLUDE/attributes.h |
|---|
| 41 | mkptypes.o: $(ARBHOME)/INCLUDE/dupstr.h |
|---|
| 42 | mkptypes.o: $(ARBHOME)/INCLUDE/test_global.h |
|---|
| 43 | mkptypes.o: $(ARBHOME)/INCLUDE/test_unit.h |
|---|
Note: See
TracBrowser
for help on using the repository browser.