/zmq/Makefile

https://code.google.com/p/gozmq/ · Makefile · 23 lines · 12 code · 5 blank · 6 comment · 0 complexity · 2005e0bc718ff1033ebbd6e3bd6870a7 MD5 · raw file

  1. include $(GOROOT)/src/Make.inc
  2. TARG=zmq
  3. CGOFILES=\
  4. zmq.go \
  5. ifeq ($(GOOS),windows)
  6. CGO_CFLAGS=-I.
  7. CGO_LDFLAGS=-L. -lzmq
  8. else
  9. CGO_CFLAGS= -I/usr/local/include
  10. CGO_LDFLAGS=-L/usr/local/lib -lzmq
  11. endif
  12. # set CGO_CFLAGS or CGO_LDFLAGS. For example, to use an
  13. # alternate installation of the library:
  14. # CGO_CFLAGS=-I/home/example/include
  15. # CGO_LDFLAGS+=-L/home/example/lib
  16. # Note the += on the second line.
  17. #CLEANFILES+=
  18. include $(GOROOT)/src/Make.pkg