build: fix for MSDOS/djgpp

- Add a VPATH-statement for the vtls/*.c files.

- Due to 'vtls/*.c', remove that subdir part from $(OBJECTS).
This commit is contained in:
Gisle Vanem 2015-10-21 12:59:43 -04:00 committed by Jay Satiro
parent 5fecdc26f7
commit c238d4da1b
1 changed files with 3 additions and 1 deletions

View File

@ -26,12 +26,14 @@
#
DEPEND_PREREQ = curl_config.h
VPATH = vtls
TOPDIR = ..
include ../packages/DOS/common.dj
include Makefile.inc
OBJECTS := $(patsubst %.c,$(OBJ_DIR)/%.o,$(strip $(CSOURCES)))
SOURCES = $(sort $(CSOURCES))
OBJECTS = $(addprefix $(OBJ_DIR)/, $(notdir $(SOURCES:.c=.o)))
CURL_LIB = libcurl.a