My goal is to compile for different platform, my Tupfile is like
ifeq (@(TUP_PLATFORM),macosx)
# ...
endif
ifeq (@(TUP_PLATFORM),win32)
# ...
endif
The doc says it's only possible to change @() variables in tup.config, is there any way to pass it via command line? It would be a lot easier to just TUP_PLATFORM=macosx; tup. Even more convenient would be passing custom variables, not sure if it's possible in tup.