You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crossplatform.mk
+32Lines changed: 32 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -448,6 +448,38 @@ ifdef WINDOWS_TARGET
448
448
endif
449
449
endif
450
450
451
+
.PHONY: help
452
+
.NOTPARALLEL: help
453
+
help:
454
+
@$(call echo,Ecere SDK Make Help)
455
+
@$(call echo,"")
456
+
@$(call echo,"help consists of command examples. try them!")
457
+
@$(call echo,"")
458
+
@$(call echo,help command examples:)
459
+
@$(call echo,"")
460
+
@$(call echo, $(MAKE_COMMAND) help -- this target)
461
+
@$(call echo, $(MAKE_COMMAND) help-troubleshoot -- show command examples for troubleshooting)
462
+
@$(call echo,"")
463
+
@$(call echo,linux only command examples:)
464
+
@$(call echo,"")
465
+
@$(call echo, time sh -c '$(MAKE_COMMAND) wipeclean all c_bindings cxx_bindings_gen -j9 && echo && make RENAME_B32=1 ARCH=x32 all -j9')
466
+
467
+
.PHONY: help-troubleshoot
468
+
.NOTPARALLEL: help-troubleshoot
469
+
help-troubleshoot:
470
+
@$(call echo,troubleshooting command examples:)
471
+
@$(call echo,"")
472
+
@$(call echo, $(MAKE_COMMAND) troubleshoot-example -- print the definition for this prepackaged list of variables)
473
+
@$(call echo, $(MAKE_COMMAND) print-all-vars-info -- print the definition for all variables)
474
+
@$(call echo, $(MAKE_COMMAND) print-all-vars-stat -- print the definition, origin and flavor for all variables)
475
+
@$(call echo, $(MAKE_COMMAND) print-var-info-PLATFORM -- print the definition for the PLATFORM variable)
476
+
@$(call echo, $(MAKE_COMMAND) print-substr-vars-full-DIR -- print all information for all variables containing the DIR string)
477
+
@$(call echo,"")
478
+
@$(call echo,available modes for print-var-<mode>-<name> and print-substr-vars-<mode>-<substring> targets:)
479
+
@$(call echo, info (definition only)$(comma)eval (value only)$(comma) both (definition and value)$(comma))
480
+
@$(call echo, stat (definition$(comma) origin and flavor) and full (definition$(comma) value$(comma) origin and flavor))
481
+
@$(call echo,"")
482
+
451
483
var_info = $(if$(value $1),$1 = $(value $1),$1 is defined as an empty value)
452
484
var_eval = $(if$(value $1),$(if$($1),$1 = $($1),$1 evaluates to an empty value),$1 is defined as an empty value)
453
485
var_both = $(if$(value $1),$1 = $(value $1)$(if$($1),$(if$(call str_is,$($1),$(value $1)),(value equal to definition),= $($1)),= (empty value)),$1 is defined as an empty value)
0 commit comments