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
|
ifndef MODULE
|
||||||
ME_OBJ=$(USERNAME)
|
ME_OBJ=$(USERNAME)
|
||||||
|
|
||||||
|
ifeq "$(ME_OBJ)" ""
|
||||||
|
ME_OBJ=$(USER)
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq "$(ME_OBJ)" ""
|
ifeq "$(ME_OBJ)" ""
|
||||||
ME_OBJ=nouser
|
ME_OBJ=nouser
|
||||||
endif
|
endif
|
||||||
|
|
||||||
OBJS += $(ME_OBJ).o
|
OBJS += $(ME_OBJ).o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue