blob: 76629ae7359d1b5356b2524e25ae3c3a617466d0 [file] [log] [blame]
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
export HDCTOOLS_DIR = $(shell pwd)
include $(HDCTOOLS_DIR)/defs/
SUBDIRS = lib test src servo usbkm232
SUBDIRS_INSTALL = $(foreach var,$(SUBDIRS),$(var)-install)
all: $(SUBDIRS)
@$(call remake,Building,$@,all)
# No subdirectory 'install' target needs any dependency on building
# (such as 'all') The explicit dependency on 'all' here ensures that
# the full source tree is built just once.
@$(call remake,Installing,$(subst -install,,$@),install)
src: lib
test: src lib