Skip to content

Commit 9a79445

Browse files
committed
Merge remote-tracking branch 'public/top_level_gmake' into readme_2_0
2 parents 0653161 + 88e3c45 commit 9a79445

File tree

1 file changed

+3
-36
lines changed

1 file changed

+3
-36
lines changed

Makefile

Lines changed: 3 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,10 @@
11
#
2-
# Copyright 2019-2020, Synopsys, Inc.
2+
# Copyright 2019-2021, Synopsys, Inc.
33
# All rights reserved.
44
#
55
# This source code is licensed under the BSD-3-Clause license found in
66
# the LICENSE file in the root directory of this source tree.
77
#
88

9-
# Default TCF is based on the standard EM9D Voice Audio template
10-
TCF_FILE ?= ../../hw/em9d.tcf
11-
12-
.PHONY: lib
13-
14-
all: app
15-
16-
lib:
17-
$(MAKE) -C lib/make TCF_FILE=$(TCF_FILE)
18-
19-
app: lib
20-
$(MAKE) -C examples/example_cifar10_caffe TCF_FILE=$(TCF_FILE)
21-
$(MAKE) -C examples/example_har_smartphone TCF_FILE=$(TCF_FILE)
22-
$(MAKE) -C examples/example_face_detect TCF_FILE=$(TCF_FILE)
23-
@echo NOTE: Omitting example_kws_speech due to extra steps required for build. If you want to build this example please change working directory to examples/example_kws_speech and follow the instructions in a README.md
24-
25-
cleanapp:
26-
$(MAKE) -C examples/example_cifar10_caffe clean
27-
$(MAKE) -C examples/example_har_smartphone clean
28-
$(MAKE) -C examples/example_face_detect clean
29-
30-
cleanall:
31-
$(MAKE) -C lib/make clean
32-
$(MAKE) -C examples/example_cifar10_caffe cleanall
33-
$(MAKE) -C examples/example_har_smartphone cleanall
34-
$(MAKE) -C examples/example_face_detect cleanall
35-
36-
libclean:
37-
$(MAKE) -C lib/make clean
38-
39-
package:
40-
$(MAKE) -C lib/make -f package.mk package
41-
42-
cleanpackage:
43-
$(MAKE) -C lib/make -f package.mk clean
9+
PUBLIC_DIR ?= $(CURDIR)
10+
include lib/make/makefile

0 commit comments

Comments
 (0)