Make makefile check $USER in addition to $USERNAME
This commit is contained in:
parent
1d4790886a
commit
8d31e6a6d7
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue