From b9297647c68c963a977e2c18f421211e24f9e85a Mon Sep 17 00:00:00 2001 From: cbdev Date: Sat, 1 Jun 2019 21:27:52 +0200 Subject: Implement file backend --- plugins/makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 plugins/makefile (limited to 'plugins/makefile') diff --git a/plugins/makefile b/plugins/makefile new file mode 100644 index 0000000..6b413db --- /dev/null +++ b/plugins/makefile @@ -0,0 +1,13 @@ +.PHONY: all clean +PLUGINS = backend_file.so + +CFLAGS += -fPIC -I../ +LDFLAGS += -shared + +%.so :: %.c %.h + $(CC) $(CFLAGS) $(LDLIBS) $< -o $@ $(LDFLAGS) + +all: $(PLUGINS) + +clean: + $(RM) $(PLUGINS) -- cgit v1.2.3