Commit | Line | Data |
---|---|---|
fb670232 KM |
1 | # |
2 | # Copyright (c) 1980 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.1 (Berkeley) %G% | |
7 | # | |
8 | # See the sysline program source for options you may want to modify | |
9 | # | |
10 | DESTDIR = | |
11 | ||
12 | CFLAGS = -O | |
13 | ||
14 | .DEFAULT:sysline | |
15 | ||
16 | sysline: sysline.c | |
17 | ${CC} ${CFLAGS} -o sysline sysline.c -ltermlib -lcurses | |
18 | ||
19 | nsysline: sysline.c | |
20 | ${CC} ${CFLAGS} -DTERMINFO -o nsysline sysline.c -lncurses | |
21 | ||
22 | install: sysline | |
23 | install -s -g kmem -m 2755 sysline $(DESTDIR)/usr/ucb | |
24 | ||
25 | clean: | |
26 | rm -f sysline |