- remove all patches (applied upstream), remove quilt framework
[debian/cpulimit.git] / Makefile
1 PREFIX?=/usr
2 CFLAGS?=-Wall -O2
3
4 all: cpulimit
5
6 cpulimit: cpulimit.c
7         gcc -o cpulimit cpulimit.c -lrt $(CFLAGS)
8
9 install: cpulimit
10         cp cpulimit ${PREFIX}/bin
11         cp cpulimit.1.gz ${PREFIX}/share/man/man1
12
13 deinstall:
14         rm -f ${PREFIX}/bin/cpulimit
15         rm -f ${PREFIX}/share/man/man1/cpulimit.1.gz
16
17 clean:
18         rm -f *~ cpulimit