File:  [gforth] / gforth / wordlibs / Makefile
Revision 1.1: download - view: text, annotated - select for diffs
Tue Mar 2 15:50:05 1999 UTC (23 years, 5 months ago) by jwilke
Branches: MAIN
CVS tags: HEAD
Supports to build up c libraries of forth words in the format used in the
prim file. Worked on linux machines.
On sun linker exits with "fatal signal 6"...


GFORTHHOME = ..

include $(GFORTHHOME)/engine/Makefile

%.c: %.pri
	cat $*.h > $@
	$(GFORTHHOME)/gforth -e "include $(GFORTHHOME)/prims2cl.fs file $< main bye" >> $@

%.so: %.c
	$(GCC) -shared -I$(GFORTHHOME) $(CFLAGS) $< -o $@

unixlib.c: unixlib.pri unixlib.h


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>