Skip to content

Commit

Permalink
Add Makefile for AMX.
Browse files Browse the repository at this point in the history
Signed-off-by: Yi Sun <[email protected]>
  • Loading branch information
ysun committed Jul 17, 2024
1 parent c6b7d6c commit 5060cf2
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions BM/amx/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (c) 2022 Intel Corporation.

SUBDIRS = $(shell ls -d */)

PROXY :=

all:
@for dir in $(SUBDIRS); do \
if [ -f "$$dir/Makefile" ]; then \
cd $$dir && \
make || { \
cd ..; \
continue; \
}; \
cd ..; \
fi \
done

clean:
@for dir in $(SUBDIRS); do \
if [ -f "$$dir/Makefile" ]; then \
make -C $$dir clean || continue; \
fi \
done

0 comments on commit 5060cf2

Please sign in to comment.