# # gcc -I/usr/include -L/usr/lib -lperfstat -o test test.c CC=gcc CFLAGS= default: test %.0: %.c $(CC) -c -o $@ $< $(CFLAGS) test: test.o gcc -lperfstat -o test test.o clean: -rm -f test.o -rm -f test