]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - tools/build/tests/ex/Makefile
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-jammy-kernel.git] / tools / build / tests / ex / Makefile
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
0c00c3fb 2export srctree := $(abspath ../../../..)
c819e2cf
JO
3export CC := gcc
4export LD := ld
5export AR := ar
6
7c422f55
JO
7ex:
8
ab6201d0
JO
9include $(srctree)/tools/build/Makefile.include
10
c819e2cf 11ex: ex-in.o libex-in.o
ba5d1a48 12 $(CC) -o $@ $^
c819e2cf 13
7c422f55 14ex.%: fixdep FORCE
c819e2cf
JO
15 make -f $(srctree)/tools/build/Makefile.build dir=. $@
16
7c422f55 17ex-in.o: fixdep FORCE
c819e2cf
JO
18 make $(build)=ex
19
7c422f55 20libex-in.o: fixdep FORCE
c819e2cf
JO
21 make $(build)=libex
22
23clean:
24 find . -name '*.o' -delete -o -name '\.*.cmd' -delete -o -name '\.*.d' -delete
25 rm -f ex ex.i ex.s
26
27.PHONY: FORCE