makefile-targets and some other meta info functions added
This commit is contained in:
@@ -2,14 +2,14 @@
|
||||
|
||||
(require racket-makefile)
|
||||
|
||||
(makefile cleanup-example
|
||||
(default-target all)
|
||||
(phony all clean)
|
||||
(makefile 'cleanup-example
|
||||
(default-target 'all)
|
||||
(phony 'all 'clean)
|
||||
|
||||
(target all
|
||||
(target 'all
|
||||
(displayln "use (make 'clean)"))
|
||||
|
||||
(target clean
|
||||
(target 'clean
|
||||
(display "cleaning up...")
|
||||
(apply rm-rf
|
||||
(list-dirs "." #px"compiled$" #:recursive #t))
|
||||
|
||||
Reference in New Issue
Block a user