I had gotten this error before when my tweak name contained non-alphabetical letters like spaces so make sure your tweak name doesn’t contain those and also when the sdk i was using was corrupted. Other than that it’s probably something wrong with the theos shortcut so you should try setting the theos path manually in the makefile like below
Add to first line of makefile:
export THEOS=theos path