|
Last change
on this file since 2273 was 1222, checked in by bird, 22 years ago |
|
don't install map file - unstripped is enough.
|
-
Property cvs2svn:cvs-rev
set to
1.7
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
|
File size:
811 bytes
|
| Line | |
|---|
| 1 | # This submakefile is included when a module needs to build a executable.
|
|---|
| 2 | # For a list of additional variables that can be defined prior to including
|
|---|
| 3 | # this submakefile see build.txt.
|
|---|
| 4 |
|
|---|
| 5 | include common.smak
|
|---|
| 6 |
|
|---|
| 7 | tools: $(.MODULE)
|
|---|
| 8 |
|
|---|
| 9 | # Linking rule
|
|---|
| 10 | $(eval $(call def_link_exe))
|
|---|
| 11 |
|
|---|
| 12 | # Add unstripped copy.
|
|---|
| 13 | ifeq ($(MODE),opt)
|
|---|
| 14 | ifdef .TARGET
|
|---|
| 15 | ifneq ($(.TARGET),$(.TARGET:.exe=.dbg))
|
|---|
| 16 | INS.FILES += $(INS)$(.INSDIR)$(.TARGET:.exe=.dbg)
|
|---|
| 17 | $(INS)$(.INSDIR)$(.TARGET:.exe=.dbg): $.$(.TARG:.exe=.dbg)
|
|---|
| 18 | $(call CP,$<,$@)
|
|---|
| 19 | endif
|
|---|
| 20 | endif
|
|---|
| 21 | endif
|
|---|
| 22 |
|
|---|
| 23 | # don't install map file - unstripped is enough.
|
|---|
| 24 | ## Map file.
|
|---|
| 25 | #ifdef .TARGET
|
|---|
| 26 | #ifneq ($(.TARGET),$(.TARGET:.exe=.map))
|
|---|
| 27 | #INS.FILES += $(INS)$(.INSDIR)$(.TARGET:.exe=.map)
|
|---|
| 28 | #$(INS)$(.INSDIR)$(.TARGET:.exe=.map): $.$(.TARG:.exe=.map)
|
|---|
| 29 | # $(call CP,$<,$@)
|
|---|
| 30 | #endif
|
|---|
| 31 | #endif
|
|---|
| 32 |
|
|---|
| 33 |
|
|---|
| 34 | include comend.smak
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.