]> diplodocus.org Git - nmh/blob - docs/historical/mh-jun-1982/support/Makefile
Added several historical source archives from the early days of MH.
[nmh] / docs / historical / mh-jun-1982 / support / Makefile
1 #
2 # Proprietary Rand Corporation, 1981.
3 # Further distribution of this software
4 # subject to the terms of the Rand
5 # license agreement.
6 #
7
8
9 # The following must match entry in ../Makefile
10 MHDIR = /etc/mh
11 PROGS = l c
12
13 all: $(PROGS)
14
15 #define TERMCAP in l.c if you have TERMCAP
16 #otherwise, you'll have to look at l.c and figure out what you want to do
17 #about the things that will be ifdeffed out
18 l: l.c
19 -rm -f l
20 $(CC) -o l $(CFLAGS) -DTERMCAP l.c -ltermcap
21
22 c: l
23 ln l c
24
25 install:
26 cd news; make install
27 -install -c ../support/components $(MHDIR)/components
28 -install -c ../support/distcomps $(MHDIR)/distcomps
29 -install -c ../support/mhl.format $(MHDIR)/mhl.format
30
31 uninstall:
32 cd news; make uninstall
33 -cd $(MHDIR); rm -f components distcomps mhl.format
34
35 distribution: clean
36
37 clean:
38 -rm $(PROGS)