/Makefile

https://code.google.com/ · Makefile · 12 lines · 9 code · 3 blank · 0 comment · 0 complexity · b27e97597d67ee95db8f739fc69f667d MD5 · raw file

  1. include $(GOROOT)/src/Make.inc
  2. TARG=github.com/tarm/goserial
  3. ifeq ($(GOOS),windows)
  4. GOFILES=serial_$(GOOS).go
  5. else
  6. CGOFILES=serial_$(GOOS).go
  7. endif
  8. GOFILES+=serial.go
  9. include $(GOROOT)/src/Make.pkg