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