Initial commit: Klammertext source distribution

Curated source subset assembled by klammertext-dev's doc/make_dist.sh: the Klammermachine (mac), the Standard Klammer Set (sks), the commands (com), editor plugins and install guides (doc), a test subset (tst), and lib/bin placeholders. Builds with 'make -C com'.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-18 18:48:23 +02:00
commit 2ba7ceee7a
272 changed files with 27634 additions and 0 deletions

17
sks/book/Makefile Normal file
View File

@@ -0,0 +1,17 @@
FLAGS = -std=c++17 -fvisibility=hidden -I $(KLAMMERTEXT_HOME)/src
ifdef OPTIMIZE
OPTIMIZE = -O3
else ifdef NOPYTHON
OPTIMIZE = -O0 -g -DNOPYTHON
else
OPTIMIZE = -ggdb
endif
book.so : book.cpp
$(CXX) $(FLAGS) $(OPTIMIZE) -fPIC -c book.cpp
$(CXX) $(FLAGS) $(OPTIMIZE) -shared -o book.so book.o
clean :
rm -f book.o book.so *~