File: Makefile

package info (click to toggle)
mdetect 0.5.2.4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 80 kB
  • ctags: 99
  • sloc: ansic: 1,022; makefile: 14
file content (36 lines) | stat: -rw-r--r-- 1,325 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
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/make -f
# Copyright (C) 2000 Progeny Linux Systems, Inc.
# Author: Branden Robinson <branden@progeny.com>
#
#  This is free software; you may redistribute it and/or modify
#  it under the terms of the GNU General Public License as
#  published by the Free Software Foundation; either version 2,
#  or (at your option) any later version.
#
#  This is distributed in the hope that it will be useful, but
#  WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with the Debian GNU/Linux system; if not, write to the Free
#  Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
#  02111-1307 USA
#
#  That's right, although mdetect itself is under the QPL, this makefile is
#  under the GPL.  Enjoy!

CFLAGS +=-Wall -g -O2

mdetect: mdetect.c mice.c

install: mdetect
	install -m 755 -d $(DESTDIR)/usr/bin
	install -m 755 mdetect $(DESTDIR)/usr/bin
	install -m 755 -d $(DESTDIR)/usr/share/man/man1
	install -m 644 mdetect.man $(DESTDIR)/usr/share/man/man1/mdetect.1
	install -m 755 -d $(DESTDIR)/usr/share/doc/mdetect
	install -m 644 README $(DESTDIR)/usr/share/doc/mdetect

clean:
	rm -f mdetect *.o core