aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 22845f1f6263513499d339ef2f3f238c61c29066 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
PREFIX=/usr/local

ministat:
	gcc ministat.c -o ministat

clean:
	rm -rf *o ministat

all: ministat

install: ministat
	install -m 0755 ministat $(PREFIX)/bin
	install -m 0644 ministat.1 $(PREFIX)/man/man1

uninstall:
	rm $(PREFIX)/bin/ministat
	rm $(PREFIX)/man/man1/ministat.1