Files
erofs-linux/tools/testing/selftests/kcmp/Makefile
T
Michael Ellerman 84f887bfb9 selftests: Set CC using CROSS_COMPILE once in lib.mk
This avoids repeating the logic in every Makefile. We mimic the
top-level Makefile and use $(CROSS_COMPILE)gcc.

Signed-off-by: Michael Ellerman <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
2015-03-19 15:16:51 -06:00

11 lines
137 B
Makefile

CFLAGS += -I../../../../usr/include/
all: kcmp_test
TEST_PROGS := kcmp_test
include ../lib.mk
clean:
$(RM) kcmp_test kcmp-test-file