xref: /original-bsd/old/dlmpcc/Makefile (revision 81287ac5)
1#
2# Copyright (c) 1987 Regents of the University of California.
3# All rights reserved.  The Berkeley software License Agreement
4# specifies the terms and conditions for redistribution.
5#
6#	@(#)Makefile	5.2	(Berkeley)	11/23/87
7#
8CFLAGS=	-O
9LIBC=	/lib/libc.a
10
11all:	dlmpcc
12
13dlmpcc: dlmpcc.c ${LIBC}
14	${CC} ${CFLAGS} -o $@ $@.c
15
16clean:
17	rm -f dlmpcc core a.out errs
18
19depend:
20	mkdep -p ${CFLAGS} dlmpcc.c
21
22install:
23	install -s -o bin -g bin -m 755 dlmpcc ${DESTDIR}/etc/dlmpcc
24	install -c -o bin -g bin -m 444 firmware/* ${DESTDIR}/etc
25
26# DO NOT DELETE THIS LINE -- mkdep uses it.
27# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
28
29dlmpcc: dlmpcc.c /usr/include/stdio.h /usr/include/ctype.h /usr/include/fcntl.h
30dlmpcc: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
31dlmpcc: /usr/include/sys/ttydev.h /usr/include/errno.h /usr/include/sys/types.h
32dlmpcc: /usr/include/tahoevba/mpreg.h /usr/include/stdio.h scnhdr.h
33
34# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
35