diff options
Diffstat (limited to 'tools/rbspeex/Makefile')
-rw-r--r-- | tools/rbspeex/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/rbspeex/Makefile b/tools/rbspeex/Makefile index 03f88f34cd..669e030c0d 100644 --- a/tools/rbspeex/Makefile +++ b/tools/rbspeex/Makefile @@ -73,12 +73,14 @@ endif ifeq ($(SYS_SPEEX),) # This sets up 'SRC' based on the files mentioned in SOURCES SPEEXSRCS := $(shell $(CC) $(CFLAGS) -E -P -xc $(SPEEXSRC)/SOURCES) -LIBSOURCES := $(SPEEXSRCS:%.c=$(SPEEXSRC)/%.c) rbspeex.c +LIBSOURCES := $(SPEEXSRCS:%.c=$(SPEEXSRC)/%.c) LIBS = $(TARGET_DIR)librbspeex.a else LIBS = $(SYS_SPEEX) endif +LIBSOURCES += rbspeex.c + TARGET_DIR ?= $(shell pwd)/ BUILD_DIR ?= $(TARGET_DIR)build$(COMPILETARGET) OBJDIR = $(abspath $(BUILD_DIR))/ |