2005-10-31 16:30:23 +01:00
|
|
|
ROOT=..
|
|
|
|
include ../Make.config
|
2005-08-08 14:50:13 +02:00
|
|
|
LIB=../libmachdep.a
|
|
|
|
|
|
|
|
OFILES=\
|
|
|
|
getcallerpc.$O\
|
2005-11-04 17:05:20 +01:00
|
|
|
md5block.$O\
|
|
|
|
sha1block.$O\
|
2005-08-08 14:50:13 +02:00
|
|
|
tas.$O
|
|
|
|
|
2005-11-04 16:47:45 +01:00
|
|
|
default: $(LIB)
|
2005-08-08 14:50:13 +02:00
|
|
|
$(LIB): $(OFILES)
|
2005-10-31 16:30:23 +01:00
|
|
|
$(AR) r $(LIB) $(OFILES)
|
|
|
|
$(RANLIB) $(LIB)
|
2005-08-08 14:50:13 +02:00
|
|
|
|
|
|
|
%.$O: %.c
|
|
|
|
$(CC) $(CFLAGS) $*.c
|
|
|
|
|
2005-11-04 17:05:20 +01:00
|
|
|
%.$O: %.s
|
|
|
|
$(AS) -o $*.$O $*.s
|
|
|
|
|
|
|
|
%.s: %.spp
|
|
|
|
cpp $*.spp >$*.s
|
|
|
|
|
|
|
|
|