GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
CC = gcc
CFLAGS = -fwritable-strings -DDIAG1 -g
TOPDIR = /usb/carat
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 = dsylv.o\
rest_short.o\
short.o\
shortest.o
.c.o:
$(COMP) $< -o $@
ALL: $(OBJS)
$(AR) *.o
clean:
rm -f *.o
strip:
strip *.o