-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
46 lines (35 loc) · 974 Bytes
/
Makefile
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
45
46
# Copyright 1995-1998 by Norman Ramsey. All rights reserved.
# See file COPYRIGHT for more information.
#
# Edit nwconfig before running
include nwconfig
# Stop editing. No user-serviceable parts below.
SHELL=/bin/sh
CINAME=
CIMSG=
all:
cd cii; make all
cd lua-2.5+nw; make "CC=$(CC) -g" all
cd c; make all
cd lua; make all
everything: all todo.html
install: all install-code install-scripts
install-code:
-mkdir $(BIN) 2>/dev/null || true
-mkdir $(LIB3) 2>/dev/null || true
cp c/no $(BIN)/.
cp c/nwmtime $(LIB3)/.
install-scripts:
-mkdir $(LIB3) 2>/dev/null || true
cd lua; make LIB2=$(LIB2) LIB3=$(LIB3) install
todo.html: todo.nw
noweave -filter l2h -html todo.nw > todo.html
www: todo.html
cp todo.html /home/cellar/nr/www/noweb/todo3.html
clean:
for i in lua-2.5+nw c lua xdoc; do (cd $$i; make clean); done
(cd cii; make clobber)
rm -f *~ */*~
clobber: clean
for i in lua-2.5+nw c lua xdoc; do (cd $$i; make clobber); done
rm -f *.html