| 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 INCLUDES = \ | 8 export INCLUDES = \ |
| 9 -I$(TOP)/common/include \ | 9 -I$(TOP)/common/include \ |
| 10 -I$(TOP)/cryptolib/include \ | 10 -I$(TOP)/cryptolib/include \ |
| 11 » -I$(TOP)/misclibs/include | 11 » -I$(TOP)/misclibs/include \ |
| 12 » -I$(TOP)/cgptlib |
| 12 | 13 |
| 13 SUBDIRS=common cryptolib misclibs vfirmware vkernel utility tests | 14 SUBDIRS=common cgptlib cryptolib misclibs vfirmware vkernel utility tests |
| 14 | 15 |
| 15 all: | 16 all: |
| 16 for i in $(SUBDIRS); do \ | 17 for i in $(SUBDIRS); do \ |
| 17 ( cd $$i ; $(MAKE)) ; \ | 18 ( cd $$i ; $(MAKE)) ; \ |
| 18 done | 19 done |
| 19 | 20 |
| 20 clean: | 21 clean: |
| 21 for i in $(SUBDIRS); do \ | 22 for i in $(SUBDIRS); do \ |
| 22 ( cd $$i ; make clean) ; \ | 23 ( cd $$i ; make clean) ; \ |
| 23 done | 24 done |
| OLD | NEW |