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
 
10
default: $(LIB)
11
$(LIB): $(OFILES)
12
	$(AR) r $(LIB) $(OFILES)
13
	$(RANLIB) $(LIB)
14
 
15
%.$O: %.c
16
	$(CC) $(CFLAGS) $*.c
17
 
18
%.$O: %.s
19
	$(AS) -o $*.$O $*.s
20
 
21
%.s: %.spp
22
	cpp $*.spp >$*.s
23
 
24