]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - tools/build/tests/ex/Makefile
Merge tag 'platform-drivers-x86-v4.1-1' of git://git.infradead.org/users/dvhart/linux...
[karo-tx-linux.git] / tools / build / tests / ex / Makefile
1 export srctree := ../../../..
2 export CC      := gcc
3 export LD      := ld
4 export AR      := ar
5
6 build := -f $(srctree)/tools/build/Makefile.build dir=. obj
7 ex: ex-in.o libex-in.o
8         gcc -o $@ $^
9
10 ex.%: FORCE
11         make -f $(srctree)/tools/build/Makefile.build dir=. $@
12
13 ex-in.o: FORCE
14         make $(build)=ex
15
16 libex-in.o: FORCE
17         make $(build)=libex
18
19 clean:
20         find . -name '*.o' -delete -o -name '\.*.cmd' -delete -o -name '\.*.d' -delete
21         rm -f ex ex.i ex.s
22
23 .PHONY: FORCE