blob: 1f2ce0e1cea12a933d08e8f9d8ab1d33aa531b56 (
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
45
46
47
48
|
#
# Makefile for Sparc library files..
#
CFLAGS := $(CFLAGS) -ansi
.c.s:
$(CC) $(CFLAGS) -S $<
.s.o:
$(AS) -c -o $*.o $<
.c.o:
$(CC) $(CFLAGS) -c $<
OBJS = mul.o rem.o sdiv.o udiv.o umul.o urem.o ashrdi3.o
lib.a: $(OBJS)
$(AR) rcs lib.a $(OBJS)
sync
mul.o: mul.S
$(CC) -c -o mul.o mul.S
rem.o: rem.S
$(CC) -DST_DIV0=0x2 -c -o rem.o rem.S
sdiv.o: sdiv.S
$(CC) -DST_DIV0=0x2 -c -o sdiv.o sdiv.S
udiv.o: udiv.S
$(CC) -DST_DIV0=0x2 -c -o udiv.o udiv.S
umul.o: umul.S
$(CC) -c -o umul.o umul.S
urem.o: urem.S
$(CC) -DST_DIV0=0x2 -c -o urem.o urem.S
ashrdi3.o: ashrdi3.S
$(CC) -c -o ashrdi3.o ashrdi3.S
dep:
#
# include a dependency file if one exists
#
ifeq (.depend,$(wildcard .depend))
include .depend
endif
|