Ticket #22506: patch-src-Make.pkg.diff
File patch-src-Make.pkg.diff, 687 bytes (added by nefar@…, 15 years ago) |
---|
-
src/Make.pkg
old new 4 4 5 5 all: package 6 6 package: _obj/$(TARG).a 7 testpackage: _test/$(TARG).a7 testpackage: $() 8 8 9 9 elem=$(lastword $(subst /, ,$(TARG))) 10 10 dir=$(patsubst %/$(elem),%,./$(TARG)) … … 28 28 rm -rf *.[$(OS)o] *.a [$(OS)].out *.cgo[12].go *.cgo[34].c *.so _obj _test _testmain.go $(CLEANFILES) 29 29 30 30 test: 31 gotest31 $() 32 32 33 33 nuke: clean 34 34 rm -f $(pkgdir)/$(TARG).a … … 46 46 $(GC) -o $@ $(GOFILES) 47 47 48 48 _gotest_.$O: $(GOFILES) $(GOTESTFILES) $(PREREQ) 49 $( GC) -o $@ $(GOFILES) $(GOTESTFILES)49 $() 50 50 51 51 _obj/$(TARG).a: _go_.$O $(OFILES) 52 52 @mkdir -p _obj/$(dir)