Warning: this is an htmlized version!
The original is here, and
the conversion rules are here.
# This file:
#   http://angg.twu.net/MAKE/demo-1.gnumake.html
#   http://angg.twu.net/MAKE/demo-1.gnumake
#           (find-angg "MAKE/demo-1.gnumake")
# Author: Eduardo Ochs <eduardoochs@gmail.com>
# Version: 2022jan04
#  See: http://angg.twu.net/#eev
#
# You need this trick to make eepitch ignore the prefix "# ":
#   (find-eepitch-intro "3.3. `eepitch-preprocess-line'")
#   (find-angg ".emacs" "eepitch-preprocess-line")
#   (setq eepitch-preprocess-regexp "^")
#   (setq eepitch-preprocess-regexp "^#T ")
#
# Videos:
#    http://angg.twu.net/eev-videos/2022-eev-make-0.mp4
#   (code-eevlinksvideo "eevmake0" "2022-eev-make-0")
#   (code-eevvideo      "eevmake0" "2022-eev-make-0")
#   (find-eevmake0video "0:00")
#
#T  (eepitch-shell)
#T  (eepitch-kill)
#T  (eepitch-shell)
#T rm -Rv /tmp/test-make/
#T mkdir  /tmp/test-make/
#T cd     /tmp/test-make/
#T wget http://angg.twu.net/MAKE/demo-1.gnumake
#T make -f demo-1.gnumake help


# Suggested by grym:
# (find-node "(make)One Shell")

.ONESHELL:
foo:
	pwd
	cd /tmp/
	pwd

#T  (eepitch-shell)
#T  (eepitch-kill)
#T  (eepitch-shell)
#T make -f demo-1.gnumake foo


# (find-es "make" "patsubst")
# (find-node "(make)Text Functions" "patsubst")
# (find-node "(make)Concept Index" "* @ (in recipes)")
# (find-node "(make)Echoing")

BASIC_STEMS = \
  2021-2-C2-intro        \
  2021-2-C2-somas-1      \
  2021-2-C2-MT1          \
  2021-2-C2-MT2
BASIC_TEX = $(patsubst %,%.tex,${BASIC_STEMS})

show_basic_stems:
	@echo ${BASIC_STEMS} | tr ' ' '\n'
show_basic_tex:
	@echo ${BASIC_TEX} | tr ' ' '\n'

help:
	@echo "# Targets:"
	cat demo-1.gnumake | grep -v '^#' | grep ':$$'
all: help

#T  (eepitch-shell)
#T  (eepitch-kill)
#T  (eepitch-shell)
#T make -f demo-1.gnumake show_basic_stems
#T make -f demo-1.gnumake show_basic_tex
#T make -f demo-1.gnumake help
#T make -f demo-1.gnumake





# Local Variables:
# coding:  utf-8-unix
# mode:    makefile
# End: