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:
33
mac/env/makefile.env.pop.DISABLED
vendored
Normal file
33
mac/env/makefile.env.pop.DISABLED
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
KLAMMERTEXT_HOME = /home/ack/projects/klammertext/K
|
||||
|
||||
include $(KLAMMERTEXT_HOME)/mac/env/optimize.env
|
||||
|
||||
CPP_VERSION = c++20
|
||||
|
||||
CXX = /usr/bin/g++
|
||||
|
||||
# Hack for now; to be generalized:
|
||||
ifneq ("$(wildcard /usr/include/python3.14)","")
|
||||
PYTHON = python3.14
|
||||
else ifneq ("$(wildcard /usr/include/python3.13)","")
|
||||
PYTHON = python3.13
|
||||
else
|
||||
PYTHON = python3.12
|
||||
endif
|
||||
|
||||
CPPFLAGS = \
|
||||
-I$(KLAMMERTEXT_HOME)/mac \
|
||||
-I/usr/include \
|
||||
-I/usr/include/$(PYTHON)
|
||||
|
||||
CXXFLAGS = -Wall -Wextra -Weffc++ -Wshadow -std=$(CPP_VERSION) -fPIC $(OPTIMIZE) $(SANITIZE)
|
||||
|
||||
LDFLAGS = \
|
||||
-L/usr/lib/x86_64-linux-gnu
|
||||
|
||||
LDLIBS = \
|
||||
-ldl
|
||||
|
||||
ifndef NOPYTHON
|
||||
LDLIBS += -l$(PYTHON)
|
||||
endif
|
||||
Reference in New Issue
Block a user