shithub: drawcpu

ref: 4f64a0294ee182f54c5ec341ab13163f43038af0
dir: /librc/Makefile/

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

OFILES=\
	code.$O\
	exec.$O\
	getflags.$O\
	glob.$O\
	here.$O\
	io.$O\
	lex.$O\
	pcmd.$O\
	pfnc.$O\
	simple.$O\
	subr.$O\
	trap.$O\
	tree.$O\
	var.$O\
	havefork.$O\
	drawcpu.$O\
	y.tab.$O\

default: $(LIB)
$(LIB): $(OFILES)
	$(AR) r $(LIB) $(OFILES)
	$(RANLIB) $(LIB)

%.$O: %.c
	$(CC) $(CFLAGS) $*.c