Makefile 407 B

123456789101112131415161718
  1. # Copyright 2011 The Snappy-Go Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style
  3. # license that can be found in the LICENSE file.
  4. include $(GOROOT)/src/Make.inc
  5. all: install
  6. # The order matters: earlier packages may not depend on later ones.
  7. DIRS=\
  8. varint/zigzag\
  9. varint\
  10. snappy\
  11. install clean nuke:
  12. for dir in $(DIRS); do \
  13. $(MAKE) -C $$dir $@ || exit 1; \
  14. done