GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
OBJFLAGS = -c INCL = $(TOPDIR)/include AR = ar rvuc $(TOPDIR)/lib/functions.a GLOBAL = -DTOPDIR=\"$(TOPDIR)\" -DTABLES=\"$(TOPDIR)/tables/\" \ -DATOMS=\"$(TOPDIR)/tables/atoms/\" \ -DTABLEDIM=\"$(TOPDIR)/tables/dim\" COMP = $(CC) $(CFLAGS) $(OBJFLAGS) $(GLOBAL) -I$(INCL) OBJS = chin_remainder.o\ intpow.o\ itoa.o\ malloc2dim.o\ min_div.o\ ovfl_mul.o\ prime_tools.o\ random.o\ tools.o .c.o: $(COMP) $< -o $@ ALL: $(OBJS) $(AR) *.o clean: rm -f *.o strip: strip *.o