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:
17
sks/book/Makefile
Normal file
17
sks/book/Makefile
Normal 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 *~
|
||||
Reference in New Issue
Block a user