Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
ROOT=..
2
include ../Make.config
3
LIB=../libmachdep.a
4
 
5
OFILES=\
6
	getcallerpc.$O\
7
	md5block.$O\
8
	sha1block.$O\
9
	tas.$O
10
 
11
default: $(LIB)
12
$(LIB): $(OFILES)
13
	$(AR) r $(LIB) $(OFILES)
14
	$(RANLIB) $(LIB)
15
 
16
%.$O: %.c
17
	$(CC) $(CFLAGS) $*.c
18
 
19
%.$O: %.s
20
	$(AS) -o $*.$O $*.s
21
 
22
md5block.s: md5block.spp
23
	gcc -E - < md5block.spp >md5block.s
24
 
25
sha1block.s: sha1block.spp
26
	gcc -E - < sha1block.spp >sha1block.s
27