Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

563642 views
# sample makefile
CC=cc
GAPARCH=x86_64-pc-linux-gnu-gcc-default64

all: default

default: bin/$(GAPARCH)/hello

bin/$(GAPARCH)/hello: src/hello.c
	mkdir -p bin/$(GAPARCH)
	$(CC) -o bin/$(GAPARCH)/hello src/hello.c

clean:
	rm -rf bin

distclean: clean
	rm -rf Makefile

doc:
	gap -A -q -T < makedocrel.g

.PHONY: all default clean distclean doc