1BINARY=$(shell basename `/usr/bin/pwd`) 2.PHONY: all 3all: 4 echo "makefile for ${BINARY} binary" 5 go install ${LDFLAGS} ${BINARY}.go `ls -1 *.go|grep -v ${BINARY}.go`
View as plain text