1 2 3 4 5 6 7 8 9 10 11
# Makefile for cgroup tools CC = $(CROSS_COMPILE)gcc CFLAGS = -Wall -Wextra all: cgroup_event_listener %: %.c $(CC) $(CFLAGS) -o $@ $^ clean: $(RM) cgroup_event_listener