shithub: 9ficl

ref: 7c76dac1b268038f567939a70a18228e790a5cbc
dir: /mkfile.bin/

View raw version
</amd64/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