Make makefile check $USER in addition to $USERNAME

This commit is contained in:
Stefan `Sec` Zehl 2011-05-22 01:02:47 +02:00
parent 1d4790886a
commit 8d31e6a6d7
1 changed files with 5 additions and 0 deletions

View File

@ -8,9 +8,14 @@ OBJS += $(foreach mod,$(MODULE),$(mod).o)
ifndef MODULE
ME_OBJ=$(USERNAME)
ifeq "$(ME_OBJ)" ""
ME_OBJ=$(USER)
endif
ifeq "$(ME_OBJ)" ""
ME_OBJ=nouser
endif
OBJS += $(ME_OBJ).o
endif