#
# Makefile for memstat for Debian GNU/Linux
# Copyright 1998, by Bernd Eckenfels <ecki@debian.org>
# This file is under the GPL.
#
CFLAGS = -O2 -Wall

INSTALL = install
INSTALL_PROGRAM = $(INSTALL) -m 755
INSTALL_DIR     = $(INSTALL) -d
  
memstat: memstat.c

clean:
	rm -f memstat.o memstat DEADJOE *~ */*~

install: memstat
	$(INSTALL_DIR) $(prefix)/bin/
	$(INSTALL_PROGRAM) memstat $(prefix)/bin/memstat
