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

563453 views
# sample makefile
CC=cc
GAPARCH=@GAPARCH@

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