123456789101112131415161718192021 |
- # -*- make -*-
- # This prints a failure message but does not abort the make
- # Input
- # $(MESSAGE) - The message to show
- # $(PROGRAM) - The program/library/whatever.
- # See defaults.mak for information about LOCAL
- LOCAL := $(PROGRAM)
- $(LOCAL)-MSG := $(MESSAGE)
- # Install hooks
- program: $(PROGRAM)
- .PHONY: $(PROGRAM)
- $(PROGRAM) :
- echo $($@-MSG)
-
|