Return to Makefile CVS log | Up to [gforth] / gforth / wordlibs |
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: