File: Makefile

package info (click to toggle)
dog 1.7-10
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 220 kB
  • ctags: 189
  • sloc: ansic: 2,103; sh: 757; makefile: 56
file content (39 lines) | stat: -rw-r--r-- 708 bytes parent folder | download | duplicates (4)
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
37
38
39
#  6/21/2000
#  Version 1.7
#
# Tested on these platforms:
#  JUnix 1.0, 1.1
#  Debian 2.0, 2.1, 2.2
#  Slackware 3.6, 4.0, 7.0
#  RedHat 5.2, 6.0, 6.1, 6.2
#  SuSE 6.4
#  FreeBSD 3.2, 3.4, 4.0
#  NetBSD 1.4.1
#  OpenBSD 2.5, 2.6
#  BSDi 4.0.1, 4.1
#  Solaris 7.0
#  SCO UnixWare 7.0
#
#  Please email any platforms you have success with to
#  dogboy@photodex.com!

INSTALL = /usr/bin/install -c
OBJS = dog.o getopt.o getopt1.o
CFLAGS = -O3 -Wall

prefix = /usr/local
bindir = ${prefix}/bin
mandir = ${prefix}/man

%.o: %.c
	gcc ${CFLAGS} -c $< -o $@

dog:	${OBJS}
	gcc ${CFLAGS} -o dog ${OBJS}

install:	dog
	$(INSTALL) -m 644 dog.1 ${mandir}/man1
	$(INSTALL) -m 755 dog ${bindir}

clean:
	rm -f dog *.o *~