1 # SPDX-License-Identifier: GPL-2.0 2 export srctree := $(abspath ../../../..) 3 export CC := gcc 4 export LD := ld 5 export AR := ar 6 7 ex: 8 9 include $(srctree)/tools/build/Makefile.includ 10 11 ex: ex-in.o libex-in.o 12 $(CC) -o $@ $^ 13 14 ex.%: fixdep FORCE 15 make -f $(srctree)/tools/build/Makefil 16 17 ex-in.o: fixdep FORCE 18 make $(build)=ex 19 20 libex-in.o: fixdep FORCE 21 make $(build)=libex 22 23 clean: 24 find . -name '*.o' -delete -o -name '\ 25 rm -f ex ex.i ex.s 26 27 .PHONY: FORCE
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.