Line | |
---|
1 | # Makefile for lib/float.
|
---|
2 |
|
---|
3 | #CC1 = /bin/sh ./FP.compile
|
---|
4 |
|
---|
5 | LIBRARIES=libfp
|
---|
6 |
|
---|
7 | libfp_FILES=" \
|
---|
8 | add_ext.fc \
|
---|
9 | adder.fc \
|
---|
10 | adf4.fc \
|
---|
11 | adf8.fc \
|
---|
12 | cff4.fc \
|
---|
13 | cff8.fc \
|
---|
14 | cfi.fc \
|
---|
15 | cfu.fc \
|
---|
16 | cif4.fc \
|
---|
17 | cif8.fc \
|
---|
18 | cmf4.fc \
|
---|
19 | cmf8.fc \
|
---|
20 | compact.fc \
|
---|
21 | cuf4.fc \
|
---|
22 | cuf8.fc \
|
---|
23 | div_ext.fc \
|
---|
24 | dvf4.fc \
|
---|
25 | dvf8.fc \
|
---|
26 | extend.fc \
|
---|
27 | fef4.fc \
|
---|
28 | fef8.fc \
|
---|
29 | fif4.fc \
|
---|
30 | fif8.fc \
|
---|
31 | fptrp.s \
|
---|
32 | mlf4.fc \
|
---|
33 | mlf8.fc \
|
---|
34 | mul_ext.fc \
|
---|
35 | ngf4.fc \
|
---|
36 | ngf8.fc \
|
---|
37 | nrm_ext.fc \
|
---|
38 | sbf4.fc \
|
---|
39 | sbf8.fc \
|
---|
40 | sft_ext.fc \
|
---|
41 | shifter.fc \
|
---|
42 | sub_ext.fc \
|
---|
43 | zrf4.fc \
|
---|
44 | zrf8.fc \
|
---|
45 | zrf_ext.fc"
|
---|
46 |
|
---|
47 | TYPE=ack
|
---|
48 |
|
---|
49 | #extra commands to convert the c files to the correct assembler files
|
---|
50 |
|
---|
51 | #%.s: %.fc
|
---|
52 | # /bin/sh ./FP.compile $<
|
---|
53 |
|
---|
54 | #1. make a assembler file of the c file
|
---|
55 | #%.fs: %.fc
|
---|
56 | # -cp $< $(<:.fc=.c) && cc -O -I. -D_MINIX -D_POSIX_SOURCE -S $(<:.fc=.c) && cp $(<:.fc=.s) $(<:.fc=.fs)
|
---|
57 | # @rm $(<:.fc=.c) $(<:.fc=.s)
|
---|
58 |
|
---|
59 | #2. modify the assembler file
|
---|
60 | #%.s: %.fs
|
---|
61 | # sed -f FP.script $< > $@
|
---|
Note:
See
TracBrowser
for help on using the repository browser.