16 lines
178 B
Makefile
16 lines
178 B
Makefile
#
|
|
# gcc -I/usr/include -L/usr/lib -lperfstat -o test test.c
|
|
|
|
CC=gcc
|
|
CFLAGS=
|
|
|
|
default: test
|
|
|
|
test: test.o
|
|
$(CC) -lperfstat -o test test.o
|
|
|
|
clean:
|
|
-rm -f test.o
|
|
-rm -f test
|
|
|