Commit | Line | Data |
---|---|---|
6ddb9ca7 KM |
1 | # FP interpreter/compiler |
2 | # Copyright (c) 1982 Scott B. Baden | |
3 | # Berkeley, California | |
4 | # | |
5 | # Copyright (c) 1982 Regents of the University of California. | |
6 | # All rights reserved. The Berkeley software License Agreement | |
7 | # specifies the terms and conditions for redistribution. | |
8 | # | |
1c15e888 | 9 | # @(#)Makefile 4.5 (Berkeley) 7/30/89 |
6ddb9ca7 KM |
10 | # |
11 | DESTDIR = | |
12 | ||
13 | FP_SYS = runFp.l fpMain.l\ | |
14 | scanner.l parser.l codeGen.l\ | |
15 | primFp.l utils.l fpPP.l handlers.l fpMeasures.l | |
16 | ||
17 | FP_SYSO = runFp.o fpMain.o\ | |
18 | scanner.o parser.o codeGen.o\ | |
19 | primFp.o utils.o fpPP.o handlers.o fpMeasures.o | |
20 | ||
21 | .SUFFIXES: | |
22 | .SUFFIXES: .l .o | |
23 | .l.o: | |
24 | liszt -axq $< | |
25 | ||
26 | ||
f79c425a | 27 | all fp: ${FP_SYSO} |
6ddb9ca7 KM |
28 | /bin/rm -f fp |
29 | echo "(progn (load 'runFp)\ | |
30 | (dumplisp fp))" | lisp > junk.fp | |
31 | chmod 755 fp | |
32 | ||
33 | ${FP_SYSO}: specials.l fpMacs.o | |
34 | ||
35 | ||
dc0e9d50 KB |
36 | install: |
37 | install -s -o bin -g bin -m 755 fp ${DESTDIR}/usr/bin | |
6ddb9ca7 | 38 | |
3a7f1c34 | 39 | clean: |
6ddb9ca7 KM |
40 | rm -f core *.[ox] junk.fp |
41 | ||
3a7f1c34 KB |
42 | cleandir: clean |
43 | rm -f ${MAN} tags .depend | |
44 | ||
6ddb9ca7 KM |
45 | |
46 | listings: ${FP_SYS} | |
47 | print runFp.l fpMain.l scanner.l parser.l codeGen.l \ | |
48 | primFp.l utils.l fpPP.l handlers.l fpMeasures.l \ | |
49 | specials.l fpMacs.l & | |
300a5f74 KB |
50 | |
51 | depend: |