source: trunk/src/emx/mkexe.smak@ 1222

Last change on this file since 1222 was 1222, checked in by bird, 21 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
5include common.smak
6
7tools: $(.MODULE)
8
9# Linking rule
10$(eval $(call def_link_exe))
11
12# Add unstripped copy.
13ifeq ($(MODE),opt)
14ifdef .TARGET
15ifneq ($(.TARGET),$(.TARGET:.exe=.dbg))
16INS.FILES += $(INS)$(.INSDIR)$(.TARGET:.exe=.dbg)
17$(INS)$(.INSDIR)$(.TARGET:.exe=.dbg): $.$(.TARG:.exe=.dbg)
18 $(call CP,$<,$@)
19endif
20endif
21endif
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
34include comend.smak
Note: See TracBrowser for help on using the repository browser.