File:  [gforth] / gforth / wordlibs / Makefile
Revision 1.1: download - view: text, annotated - select for diffs
Tue Mar 2 15:50:05 1999 UTC (22 years, 7 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"...

    1: 
    2: GFORTHHOME = ..
    3: 
    4: include $(GFORTHHOME)/engine/Makefile
    5: 
    6: %.c: %.pri
    7: 	cat $*.h > $@
    8: 	$(GFORTHHOME)/gforth -e "include $(GFORTHHOME)/prims2cl.fs file $< main bye" >> $@
    9: 
   10: %.so: %.c
   11: 	$(GCC) -shared -I$(GFORTHHOME) $(CFLAGS) $< -o $@
   12: 
   13: unixlib.c: unixlib.pri unixlib.h
   14: 

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