rash-makefile
1 Using the adapter
9.3

rash-makefile🔗ℹ

Hans Dijkema / hans@dijkewijk.nl

 (require rash-makefile) package: rash-makefile

rash-makefile provides the Rash/Linea adapter for racket-makefile. The core racket-makefile package remains independent of Rash.

1 Using the adapter🔗ℹ

#lang rash

 

(require rash-makefile)

 

(makefile demo

  (default-target all)

  (phony status all)

 

  (target status

    (displayln "status"))

 

  (target all

    (deps status)

    (displayln "all")))

In Rash line mode, bare target names are converted to symbols:

make status

make all

The ordinary Racket form remains available in the same module:

(make 'status)
(make 'all)