conterm/posix-sun4u/Makefile

27 lines
292 B
Makefile
Raw Normal View History

2006-05-21 21:02:05 +04:00
ROOT=..
include ../Make.config
LIB=../libmachdep.a
OFILES=\
getcallerpc.$O\
md5block.$O\
sha1block.$O\
tas.$O
default: $(LIB)
$(LIB): $(OFILES)
$(AR) r $(LIB) $(OFILES)
$(RANLIB) $(LIB)
%.$O: %.c
$(CC) $(CFLAGS) $*.c
%.$O: %.s
$(AS) -o $*.$O $*.s
%.s: %.spp
cpp $*.spp >$*.s