summaryrefslogtreecommitdiff
path: root/web/spiderweb/src/Makefile
blob: 0b1510b6afe42aee324ec2efb6aaf949d97d4168 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright 1989 by Norman Ramsey, Odyssey Research Associates
# Not to be sold, but may be used freely for any purpose
# For more information, see file COPYRIGHT in the parent directory

# This is a SUN OS 4 Makefile.  Sorry.  Makefiles in subdirectories
# should work under any reasonable Make.

MAKE=make $(MFLAGS)
DIRECTORIES=68k ada awk c c++ dijkstra kelem larch nawk \
	    penelope postscript reduce sml ssl turing turing+

# Removes excess junk from the world, except it doesn't remove
# common object files from ./master
# This destroys the sources, so don't make clean until you've made boot.
clean:
	@for i in $(DIRECTORIES); do \
		cd $$i; \
		echo making $$i clean...; \
		$(MAKE) clean ; \
		cd ..; \
	done
	rm -f *~
	@echo "All done."

# This creates the minimum sources in preparation for `make distribution'
source:
	cd c ; $(MAKE) source ; cd ..
	cd awk ; $(MAKE) source ; cd ..

# Used to bring up the system when first installing it.  Requires sources,
# either from the distribution tarfile or from `make source'
boot:
	cd c; $(MAKE) boot; cd ..
	cd awk; $(MAKE) boot; cd ..

# Make all known webs.  For lunatics only.
all:
	@for i in $(DIRECTORIES); do \
		cd $$i; \
		$(MAKE) web ; \
		cd ..; \
	done
	@echo "All done."