xref: /kernel/linux/linux-5.10/tools/testing/selftests/resctrl/Makefile (revision 8c2ecf20)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/tools/testing/selftests/resctrl/
18c2ecf20Sopenharmony_ciCC = $(CROSS_COMPILE)gcc
28c2ecf20Sopenharmony_ciCFLAGS = -g -Wall -O2 -D_FORTIFY_SOURCE=2
38c2ecf20Sopenharmony_ciSRCS=$(wildcard *.c)
48c2ecf20Sopenharmony_ciOBJS=$(SRCS:.c=.o)
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciall: resctrl_tests
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci$(OBJS): $(SRCS)
98c2ecf20Sopenharmony_ci	$(CC) $(CFLAGS) -c $(SRCS)
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ciresctrl_tests: $(OBJS)
128c2ecf20Sopenharmony_ci	$(CC) $(CFLAGS) -o $@ $^
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci.PHONY: clean
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciclean:
178c2ecf20Sopenharmony_ci	$(RM) $(OBJS) resctrl_tests
18

Indexes created Thu Nov 07 10:32:03 CST 2024