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

33
sks/kutil/Makefile Normal file
View File

@@ -0,0 +1,33 @@
# Klammertext sks/kutil/ Makefile
# Improved version with automatic header dependency tracking
K := $(KLAMMERTEXT_HOME)
KM := $(K)/mac
include $(KM)/env/makefile.env
# Source files
SOURCES := kutil.cpp klammer_base.cpp
OBJECTS := kutil.o klammer_base.o
DEPFILES := kutil.d klammer_base.d
# Additional include paths
LOCAL_CPPFLAGS := -I$(KM)
# Compiler flags for dependency generation
DEPFLAGS = -MMD -MP -MF $(@:.o=.d)
.PHONY: all clean
# Default target
all : $(OBJECTS)
# Pattern rule for object files
%.o : %.cpp
$(CXX) -c $(CPPFLAGS) $(LOCAL_CPPFLAGS) $(CXXFLAGS) $(DEPFLAGS) $< -o $@
clean :
rm -f $(OBJECTS) $(DEPFILES) *.so *~
# Include generated dependency files (if they exist)
-include $(DEPFILES)