summaryrefslogtreecommitdiff
path: root/examples/Makefile
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-26 20:05:20 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-26 20:05:20 +0100
commit375d87a9b0ec1cf2fffd705adb870c86144d2400 (patch)
tree1e8e05e7cd58686628d0f4622622456613a42e4d /examples/Makefile
parent45425dd047b791fe63f13a46a3251c529cfffc94 (diff)
Replace the C++ implementation with the Rust port
The Rust port (formerly gipfel-rs) is now the official successor to the FLTK/GSL C++ code base. This squashes the port into a single commit and removes the C++ sources (they remain in the git history below). Layout: crates/gipfel-core headless core: hills, panorama geometry, projections (maxima-generated derivatives), pure-Rust LM fit, gipfel: JPEG comment + EXIF I/O, profiles, stitching crates/gipfel-cli command-line tools (export, info, stitch, profiles) crates/gipfel-app Cosmic DE (libcosmic) GUI, binary name `gipfel` codegen/ maxima scripts + regen.sh for the projection code tests/ golden files + C++ reference harnesses (historical) The original README is kept for now; it will be updated to describe the Rust build. gipfel.dat, AUTHORS, ChangeLog and NEWS are unchanged.
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile63
1 files changed, 0 insertions, 63 deletions
diff --git a/examples/Makefile b/examples/Makefile
deleted file mode 100644
index 062c88c..0000000
--- a/examples/Makefile
+++ /dev/null
@@ -1,63 +0,0 @@
-images := $(wildcard *.jpg)
-slides := $(addprefix gipfelweb/slides/, $(images))
-thumbs := $(addprefix gipfelweb/thumbs/, $(images))
-positions := $(addprefix gipfelweb/gipfel/, $(addsuffix .pos, $(basename $(images))))
-imgpos := $(addprefix gipfelweb/gipfel/, $(addsuffix .imgs, $(basename $(images))))
-hillpos := $(addprefix gipfelweb/gipfel/, $(addsuffix .hills, $(basename $(images))))
-html := $(addprefix gipfelweb/, $(addsuffix .html, $(basename $(images))))
-htmlhills := $(addprefix gipfelweb/hills/, $(addsuffix .html, $(basename $(images))))
-
-all:
- echo "make gipfelweb - create a HTML based we of gipfel oriented"
- echo "images in the current directory."
-
-gipfelweb: dirs $(slides) $(thumbs) $(imgpos) $(hillpos) $(html) $(htmlhills)
-
-clean:
- rm -rf gipfelweb/gipfel
-
-clobber:
- rm -rf gipfelweb
-
-dirs:
- mkdir -p gipfelweb/slides
- mkdir -p gipfelweb/thumbs
- mkdir -p gipfelweb/hills
- mkdir -p gipfelweb/gipfel
-
-gipfelweb/slides/%.jpg: %.jpg
- anytopnm $< | pamscale -f lanczos -xyfit 20000 500 | pnmtojpeg -quality 94 > $@
- jhead -te $< $@
-
-gipfelweb/thumbs/%.jpg: %.jpg
- anytopnm $< | pamscale -f point -xyfit 400 50 | pnmtojpeg -quality 80 > $@
-
-gipfelweb/gipfel/%.pos: %.jpg
- gipfel -p $< > $@
-
-gipfelweb/gipfel/%.imgs: gipfelweb/slides/%.jpg %.opts gipfelweb/gipfel/index.gipfel
- gipfel `cat $*.opts` -e gipfelweb/gipfel/index.gipfel $< > $@
-
-gipfelweb/gipfel/%.imgs: gipfelweb/slides/%.jpg gipfelweb/gipfel/index.gipfel
- gipfel -V 0.05 -e gipfelweb/gipfel/index.gipfel $< > $@
-
-gipfelweb/gipfel/%.hills: gipfelweb/slides/%.jpg %.opts
- gipfel `cat $*.opts` -E $< > $@
-
-gipfelweb/gipfel/%.hills: gipfelweb/slides/%.jpg
- gipfel -V 0.05 -E $< > $@
-
-gipfelweb/gipfel/index.gipfel: $(positions)
- cat $(positions) > gipfelweb/gipfel/index.gipfel
-
-gipfelweb/%.html: gipfelweb/slides/%.jpg gipfelweb/gipfel/%.imgs %.title $(thumbs)
- gipfel2html images "`cat $*.title`" $* > $@
-
-gipfelweb/%.html: gipfelweb/slides/%.jpg gipfelweb/gipfel/%.imgs $(thumbs)
- gipfel2html images $* $* > $@
-
-gipfelweb/hills/%.html: gipfelweb/slides/%.jpg gipfelweb/gipfel/%.hills %.title
- gipfel2html hills "`cat $*.title`" $* > $@
-
-gipfelweb/hills/%.html: gipfelweb/slides/%.jpg gipfelweb/gipfel/%.hills
- gipfel2html hills $* $* > $@