blob: 9d80a43d49180c973567650e630c9a89fb3ed4bd [file] [log] [blame]
Gaurav Shah322536d2010-01-28 15:01:23 -08001# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
Gaurav Shah27bfc8b2010-02-17 14:19:24 -08005export CC ?= gcc
Gaurav Shah456678b2010-03-10 18:38:45 -08006export CFLAGS = -Wall -DNDEBUG -O3 -Werror
Gaurav Shah7ca31f32010-02-16 19:04:11 -08007export TOP = $(shell pwd)
8export INCLUDEDIR = $(TOP)/include
9export INCLUDES = -I$(INCLUDEDIR)
Gaurav Shah322536d2010-01-28 15:01:23 -080010
11SUBDIRS=common crypto utils tests
12
13all:
14 for i in $(SUBDIRS); do \
15 ( cd $$i ; $(MAKE)) ; \
16 done
17
18clean:
19 for i in $(SUBDIRS); do \
20 ( cd $$i ; make clean) ; \
21 done