summaryrefslogtreecommitdiff
path: root/docs/tutorials/015/Makefile
blob: d2de9a3b0bfca7ed5b621ca1470b21af26c0f7d5 (plain)
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

# $Id$

#----------------------------------------------------------------------------
#	Local macros
#----------------------------------------------------------------------------

BIN    = client server

all clean realclean : #
	$(MAKE) -f Makefile.client $@
	$(MAKE) -f Makefile.server $@

client server : #
	$(MAKE) -f Makefile.$@ all

Depend : #
	$(MAKE) -f Makefile.client $@

HTML : #
	[ -f hdr ] || $(MAKE) UNSHAR
	perl ../combine *.pre

SHAR : #
	[ ! -f combine.shar ] || exit 1
	shar -T hdr bodies *.pre *.pst > combine.shar
	rm -f hdr bodies *.pre *.pst

UNSHAR : #
	sh combine.shar