GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
GAPPATH=../..
CONFIGNAME=default64
# makefile prototype for the Browse package Frank Lübeck
CONFIGNAME=default64
GAP = $(GAPPATH)/bin/x86_64-pc-linux-gnu-gcc-default64/gap -b -r -l $(GAPPATH)
GAPINCL=-I$(GAPPATH)/src -I$(GAPPATH)/bin/x86_64-pc-linux-gnu-gcc-default64
PKGROOT=$(shell pwd)
LOPTS=$(LDFLAGS) -lpanel -lncurses
.PHONY: clean doc test
default: bin/x86_64-pc-linux-gnu-gcc-default64/ncurses.so
bin/x86_64-pc-linux-gnu-gcc-default64/ncurses.so: src/ncurses.c Makefile-$(CONFIGNAME)
mkdir -p bin/x86_64-pc-linux-gnu-gcc-default64
$(GAPPATH)/bin/x86_64-pc-linux-gnu-gcc-default64/gac -p "$(CFLAGS)" -d -o \
bin/x86_64-pc-linux-gnu-gcc-default64/ncurses.so src/ncurses.c -L "${LOPTS}"
# just make it again when called with 'manual'
## manual: doc/manual.six
## doc/manual.six: doc/main.xml doc/browsebib.xml doc/appl.xml doc/browse.xml \
## doc/curses.xml doc/intro.xml doc/util.xml
manual:
($(GAP) -l "../../;" < makedocrel.g)
echo "LaTeX warnings:"
grep "\(^LaTeX Warning\|^Overfull \\hbox\)" doc/main.log; exit 0
clean:
rm -rf bin/x86_64-pc-linux-gnu-gcc-default64 Makefile Makefile-${CONFIGNAME} *~
distclean:
rm -rf bin/* Makefile Makefile-*
doc:
($(GAP) < makedocrel.g)
docclean:
(cd doc; ./clean)
# experimental so far
WIDECHARS:
$(GAPPATH)/bin/x86_64-pc-linux-gnu-gcc-default64/gac -d -o bin/x86_64-pc-linux-gnu-gcc-default64/ncurses.so \
src/ncurses.c -p -DWIDECHARS -L "-lpanelw -lncursesw"