1 CC = gcc 2 PROG = test_clock_getres 3 SRC = test_clock_getres.c 4 LIBS = -lrt 5 6 all: $(PROG) 7 8 $(PROG): 9 $(CC) $(LIBS) -o $(PROG) $(SRC) 10 clean: 11 rm -f $(PROG) 12