From: Rob Pike Date: Thu, 3 Jul 2008 20:42:04 +0000 (-0700) Subject: drop some superfluous file prefixes in runtime X-Git-Tag: weekly.2009-11-06~3572 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ef12ae46318b4242a0c2d65e9627afa73dbe12fb;p=gostls13.git drop some superfluous file prefixes in runtime SVN=125956 --- diff --git a/src/runtime/Makefile b/src/runtime/Makefile index 8b80e3f01d..e3f15c836d 100644 --- a/src/runtime/Makefile +++ b/src/runtime/Makefile @@ -18,9 +18,9 @@ LIBOFILES=\ rt2_$(GOARCH).$O\ sys_$(GOARCH)_$(GOOS).$O\ runtime.$O\ - runtime_map.$O\ - runtime_print.$O\ - runtime_string.$O\ + map.$O\ + print.$O\ + string.$O\ sys_file.$O\ OFILES=$(RT0OFILES) $(LIBOFILES) @@ -38,6 +38,9 @@ $(LIB): $(LIBOFILES) $(OFILES): $(HFILES) +nuke: + rm -f *.$(O) *.a $(GOROOT)/lib/$(LIB) + clean: rm -f *.$(O) *.a diff --git a/src/runtime/clean.bash b/src/runtime/clean.bash index 8d6bed7d10..a64198096a 100644 --- a/src/runtime/clean.bash +++ b/src/runtime/clean.bash @@ -6,6 +6,6 @@ set -ex for GOOS in linux darwin do - make clean + make nuke done diff --git a/src/runtime/runtime_map.c b/src/runtime/map.c similarity index 100% rename from src/runtime/runtime_map.c rename to src/runtime/map.c diff --git a/src/runtime/runtime_print.c b/src/runtime/print.c similarity index 100% rename from src/runtime/runtime_print.c rename to src/runtime/print.c diff --git a/src/runtime/runtime_string.c b/src/runtime/string.c similarity index 100% rename from src/runtime/runtime_string.c rename to src/runtime/string.c