makefile-targets and some other meta info functions added

This commit is contained in:
2026-08-18 02:15:33 +02:00
parent a21f4a4a39
commit 635d2d40d1
13 changed files with 538 additions and 251 deletions
+7 -7
View File
@@ -31,18 +31,18 @@
(build-path tmp "Makefile.rkt")
"#lang racket"
"(require racket-makefile \"slow.rkt\")"
"(makefile demo"
" (phony change old)"
" (target old (displayln \"old\"))"
" (target change (copy-file \"NewMakefile.rkt\" \"Makefile.rkt\" #t)))")
"(makefile 'demo"
" (phony 'change 'old)"
" (target 'old (displayln \"old\"))"
" (target 'change (copy-file \"NewMakefile.rkt\" \"Makefile.rkt\" #t)))")
(write-lines
(build-path tmp "NewMakefile.rkt")
"#lang racket"
"(require racket-makefile \"slow.rkt\")"
"(makefile demo"
" (phony changed)"
" (target changed"
"(makefile 'demo"
" (phony 'changed)"
" (target 'changed"
" (call-with-output-file \"result.txt\" #:exists 'truncate/replace"
" (lambda (out) (display slow-value out)))))")