diff options
Diffstat (limited to 'plugins.mk')
-rw-r--r-- | plugins.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins.mk b/plugins.mk new file mode 100644 index 0000000..56903d7 --- /dev/null +++ b/plugins.mk @@ -0,0 +1,10 @@ +THIS := $(dir $(realpath $(lastword $(MAKEFILE_LIST)))) + +SOURCES += $(THIS)nif_helpers.c +$(C_SRC_OUTPUT_FILE): $(THIS)nif_helpers.o + +ifeq ($(PLATFORM),msys2) + CFLAGS += -I"$(THIS)/compat/" +endif + +CFLAGS += -I"$(THIS)" |