You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
363 B

  1. include $(GOROOT)/src/Make.inc
  2. TARG=launchpad.net/goamz/sqs
  3. GOFILES=\
  4. sqs.go\
  5. include $(GOROOT)/src/Make.pkg
  6. GOFMT=gofmt
  7. BADFMT=$(shell $(GOFMT) -l $(GOFILES) 2> /dev/null)
  8. gofmt: $(BADFMT)
  9. @for F in $(BADFMT); do $(GOFMT) -w $$F && echo $$F; done
  10. ifneq ($(BADFMT),)
  11. ifneq ($(MAKECMDGOALS), gofmt)
  12. #$(warning WARNING: make gofmt: $(BADFMT))
  13. endif
  14. endif