shithub: drawterm

ref: 229d7bb35315ade6f25d96071adfd6933a50015d
dir: /posix-sun4u/Makefile/

View raw version
ROOT=..
include ../Make.config
LIB=../libmachdep.a

OFILES=\
	getcallerpc.$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