source: code/trunk/vendor/modernc.org/opt/Makefile@ 822

Last change on this file since 822 was 822, checked in by yakumo.izuru, 22 months ago

Prefer immortal.run over runit and rc.d, use vendored modules
for convenience.

Signed-off-by: Izuru Yakumo <yakumo.izuru@…>

File size: 421 bytes
Line 
1# Copyright 2022 The Opt Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style
3# license that can be found in the LICENSE file.
4
5.PHONY: clean edit editor
6
7clean:
8 rm -f log-* cpu.test mem.test *.out
9 go clean
10
11edit:
12 @touch log
13 @if [ -f "Session.vim" ]; then gvim -S & else gvim -p Makefile *.go & fi
14
15editor:
16 gofmt -l -s -w *.go
17 go test -o /dev/null -c
18 go install 2>&1 | tee log-editor
Note: See TracBrowser for help on using the repository browser.