J :
* Attempt at solving the problem of the `which` command not found.
This commit is contained in:
+2
-2
@@ -33,7 +33,7 @@ endif
|
|||||||
# Determination of target.
|
# Determination of target.
|
||||||
# TARGET_ARCHITECTURE variable will then be set to either linux or psp.
|
# TARGET_ARCHITECTURE variable will then be set to either linux or psp.
|
||||||
|
|
||||||
RESULT = $(shell which psp-config)
|
RESULT = $(shell psp-config 2> /dev/null)
|
||||||
ifeq ($(RESULT),)
|
ifeq ($(RESULT),)
|
||||||
DEFAULT_RULE = linux
|
DEFAULT_RULE = linux
|
||||||
TARGET_ARCHITECTURE = linux
|
TARGET_ARCHITECTURE = linux
|
||||||
@@ -74,7 +74,7 @@ ifeq ($(TARGET_ARCHITECTURE),linux)
|
|||||||
OBJS = $(GENERIC_OBJS) $(LINUX_OBJS)
|
OBJS = $(GENERIC_OBJS) $(LINUX_OBJS)
|
||||||
TARGET_LIB = libjge.a
|
TARGET_LIB = libjge.a
|
||||||
TARGET_HGE = libhgetools.a
|
TARGET_HGE = libhgetools.a
|
||||||
INCDIR = $(shell freetype-config --cflags)
|
INCDIR = $(shell freetype-config --cflags 2> /dev/null)
|
||||||
CXXFLAGS += -DLINUX
|
CXXFLAGS += -DLINUX
|
||||||
LIBDIR = lib/linux
|
LIBDIR = lib/linux
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user