rf-web/vendor/bundle/gems/ffi-1.11.1/ext/ffi_c/libffi.vc64.mk

27 lines
570 B
Makefile
Raw Normal View History

2019-10-21 08:18:17 +00:00
# -*- makefile -*-
#
# Makefile for msvc
#
# Tack the extra deps onto the autogenerated variables
INCFLAGS = -I$(LIBFFI_BUILD_DIR)/include -I$(LIBFFI_BUILD_DIR)/src/x86 $(INCFLAGS)
LOCAL_LIBS = $(LOCAL_LIBS) $(LIBFFI)
BUILD_DIR = $(MAKEDIR)
LIBFFI_BUILD_DIR = $(BUILD_DIR)/libffi
!IF "$(srcdir)" == "."
LIBFFI_SRC_DIR = $(MAKEDIR)/libffi
!ELSE
LIBFFI_SRC_DIR = $(srcdir)/libffi
!ENDIF
LIBFFI = $(LIBFFI_BUILD_DIR)/.libs/libffi_convenience.lib
$(OBJS): $(LIBFFI)
$(LIBFFI):
@$(MAKEDIRS) $(LIBFFI_BUILD_DIR)
@cd $(LIBFFI_BUILD_DIR) && $(MAKE) -f Makefile.vc64