Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ############################################################ CONFIGURATION
- PROGNAME = tlist
- ############################################################ GO CONFIGURATION
- GOOS = freebsd
- GOARCH = 386
- GOROOT = /usr/local/go
- ############################################################ TARGET RULES
- all: $(PROGNAME)
- $(PROGNAME): main.8
- GOOS=$(GOOS) GOARCH=$(GOARCH) GOROOT=$(GOROOT) 8l -o $(PROGNAME) $(>)
- main.8: main.go
- GOOS=$(GOOS) GOARCH=$(GOARCH) GOROOT=$(GOROOT) 8g -o $(@) $(>)
- clean:
- rm -f *.8
- distclean: clean
- rm -f $(PROGNAME)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement