| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 export CC ?= gcc | 5 export CC ?= gcc |
| 6 export CFLAGS = -Wall -DNDEBUG -O3 -Werror | 6 export CFLAGS = -Wall -DNDEBUG -O3 -Werror |
| 7 export TOP = $(shell pwd) | 7 export TOP = $(shell pwd) |
| 8 export INCLUDEDIR = $(TOP)/include | 8 export INCLUDES = \ |
| 9 export INCLUDES = -I$(INCLUDEDIR) | 9 » -I$(TOP)/common/include \ |
| 10 » -I$(TOP)/cryptolib/include \ |
| 11 » -I$(TOP)/misclibs/include |
| 10 | 12 |
| 11 SUBDIRS=common crypto utils tests | 13 SUBDIRS=common cryptolib misclibs vfirmware vkernel utility tests |
| 12 | 14 |
| 13 all: | 15 all: |
| 14 for i in $(SUBDIRS); do \ | 16 for i in $(SUBDIRS); do \ |
| 15 ( cd $$i ; $(MAKE)) ; \ | 17 ( cd $$i ; $(MAKE)) ; \ |
| 16 done | 18 done |
| 17 | 19 |
| 18 clean: | 20 clean: |
| 19 for i in $(SUBDIRS); do \ | 21 for i in $(SUBDIRS); do \ |
| 20 ( cd $$i ; make clean) ; \ | 22 ( cd $$i ; make clean) ; \ |
| 21 done | 23 done |
| OLD | NEW |