shithub: 9ficl

ref: 7d02e382d314d5bdde7978ccb7a64ea9201d03db
dir: /mkfile.bin/

View raw version
</$objtype/mkfile

CFLAGS=-I. -D__amd64__ -D__plan9__ -DFICL_PLATFORM_ARCHITECTURE="$objtype" -D_POSIX_SOURCE -D_SUSV2_SOURCE
CC=pcc

BIN=ficl

OFILES=\
	main.$O

all:V: $O.out

install:V: $O.out
	cp $O.out ficl

$O.out: main.$O
	$LD -o $target $OFILES libficl.a

%.$O: %.c
	pcc $CFLAGS -c -o $target $stem.c

clean:V:
	rm -f ficl main.$O $O.out