Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- warning_plot:
- ifeq ($(RUN_NAME), last_run)
- $(call example_line,"plot")
- @exit 1
- endif
- warning_replot:
- ifeq ($(RUN_NAME), last_run)
- $(call example_line,"replot")
- @exit 1
- endif
- warning_run:
- ifeq ($(RUN_NAME), last_run)
- $(call example_line,"run")
- @exit 1
- endif
- define example_line =
- @echo -e "------------------------------------------------\n"
- @echo -e "$(REDC)WARNING:$(ENDC) \n"
- @echo -e "Set the RUN_NAME\n"
- @echo -e "EXAMPLE:\n"
- @echo -e "$(GREENC)make $(1) RUN_NAME=my_run_name$(ENDC)\n"
- @echo -e "------------------------------------------------\n"
- endef
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement