blob: 6b413db6b0f523342d106b70ba4c7b25d705dc2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)
|