|
|
@ -20,8 +20,8 @@ CFLAGS=-pipe -Wall -O2 -fomit-frame-pointer
|
|
|
|
|
|
|
|
|
|
|
|
path = $(subst :, ,$(PATH))
|
|
|
|
path = $(subst :, ,$(PATH))
|
|
|
|
diet_path = $(foreach dir,$(path),$(wildcard $(dir)/diet))
|
|
|
|
diet_path = $(foreach dir,$(path),$(wildcard $(dir)/diet))
|
|
|
|
ifneq ($(strip $(diet_path)),)
|
|
|
|
ifeq ($(strip $(diet_path)),)
|
|
|
|
ifeq ($(wildcard /opt/diet/bin/diet),/opt/diet/bin/diet)
|
|
|
|
ifneq ($(wildcard /opt/diet/bin/diet),)
|
|
|
|
DIET=/opt/diet/bin/diet
|
|
|
|
DIET=/opt/diet/bin/diet
|
|
|
|
else
|
|
|
|
else
|
|
|
|
DIET=
|
|
|
|
DIET=
|
|
|
|