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