summaryrefslogtreecommitdiff
path: root/src/cmd/nm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/nm/Makefile')
-rw-r--r--src/cmd/nm/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/cmd/nm/Makefile b/src/cmd/nm/Makefile
new file mode 100644
index 000000000..81bc348de
--- /dev/null
+++ b/src/cmd/nm/Makefile
@@ -0,0 +1,15 @@
+# Copyright 2009 The Go Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
+include ../../Make.inc
+O:=$(HOST_O)
+
+# The directory is nm because the source is portable and general.
+# We call the binary 6nm to avoid confusion with the host nm.
+
+TARG=6nm
+OFILES=\
+ nm.$O\
+
+include ../../Make.ccmd