File: Makefile

package info (click to toggle)
memstat 1.1%2Bnmu2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 80 kB
  • sloc: ansic: 343; makefile: 56
file content (23 lines) | stat: -rw-r--r-- 539 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# Makefile for memstat for Debian GNU/Linux
# Copyright 1998, by Bernd Eckenfels <ecki@debian.org>
# This file is under the GPL.
#
CFLAGS = -g -Wall -O2
prefix = $(DESTDIR)/
exec_prefix = $(prefix)/usr

INSTALL = install
INSTALL_PROGRAM = $(INSTALL) -p -s -m  755
INSTALL_FILE    = $(INSTALL) -p    -m  644
INSTALL_DIR     = $(INSTALL) -p -d -m  755

memstat: memstat.c

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

install: memstat
	$(INSTALL_PROGRAM) memstat $(exec_prefix)/bin/memstat
	$(INSTALL_FILE) memstat.conf $(prefix)/etc