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
%.s: %.spp
23
	cpp $*.spp >$*.s
24
 
25