aix-disk-stats/Makefile

17 lines
204 B
Makefile

#
# gcc -I/usr/include -L/usr/lib -lperfstat -o test test.c
CC=gcc
CFLAGS=
BIN=aix-disk-perfstat
default: main
main: main.o
$(CC) -lperfstat -o $(BIN) main.c
clean:
-rm -f main.o
-rm -f $(BIN)