this will still prevent you from passing another name from the command line.

I'd remove the "PROFILE_FOLDER?=" line from line 35 and do this instead:
```
ifeq ($(DEBUG), 1)
  ...
  PROFILE_FOLDER?=profile-debug
else ifeq ($(DESKTOP), 1)
  ...
  PROFILE_FOLDER?=profile-debug
endif

PROFILE_FOLDER?=profile
```

The trick is to set it (if not already set) _after_ we check for DEBUG/DESKTOP. If you prefer to be more explicit, you can put it inside the else.

Of couse I haven't tested this at all, so I'll let you test this works as expected ;)