shithub: 9ficl

ref: 7d02e382d314d5bdde7978ccb7a64ea9201d03db
dir: /softcore/mkfile/

View raw version
</$cputype/mkfile

SOURCES=\
	softcore.fr\
	ifbrack.fr\
	prefix.fr\
	prefix.fr\
	ficl.fr\
	jhlocal.fr\
	marker.fr\
	oo.fr\
	classes.fr\
	string.fr\
	ficllocal.fr\
	fileaccess.fr

CC=pcc

softcore.c: makesoftcore
	makesoftcore $SOURCES

makesoftcore: makesoftcore.$O lzcompress.$O bit.$O
	$LD -o $target $prereq

makesoftcore.$O: makesoftcore.c
	objtype=$cputype $CC -I.. -c -o $target $prereq

lzcompress.$O: ../lzcompress.c
	objtype=$cputype $CC -I.. -c -o $target $prereq

bit.$O: ../bit.c
	objtype=$cputype $CC -I.. -c -o $target $prereq

clean:
	rm -f *.$O makesoftcore softcore.c