shithub: lu9-lpeg

ref: 04dd46b3bb2cff92b035853d91e6d528415e9182
dir: /mkfile/

View raw version
</$objtype/mkfile

CFLAGS=-FTV -p -I../lua/shim -I../lua

LIB=liblpeg.a.$O

OBJS=\
	lpvm.$O\
	lpcap.$O\
	lptree.$O\
	lpcode.$O\
	lpprint.$O

all:V: $LIB

clean:V:
	rm -f *.[$OS] *.a.[$OS]

$LIB: $OBJS
	ar cr $target $prereq

%.$O: %.c
	$CC $CFLAGS $stem.c