all: j.hlp

j.hlp: j.hpj
	+%hc31 j

j.hpj: j.hdf
	+%helpc /R- /RM- /W31 /PX- j

j.set: j.hdf
	+%helpc /R- /RM- j

j.hdf: jarg2hdk.exe jarg300.txt
	jarg2hdk <jarg300.txt >j.hdf

jarg2hdk.exe: jarg2hdk.o
	gcc -o jarg2hdk jarg2hdk.o
	aout2exe jarg2hdk

jarg2hdk.o: lexyy.c
	gcc -O2 -c -o jarg2hdk.o lexyy.c

lexyy.c: jargon.l
	flex jargon.l
