blob: 1a6ef36845dbd5b83445f5581c8ad6fbb281d693 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
.PHONY: all clean
PLUGINS = backend_file.so
CFLAGS += -fPIC -g -I../
LDFLAGS += -shared
%.so :: %.c %.h
$(CC) $(CFLAGS) $(LDLIBS) $< -o $@ $(LDFLAGS)
all: $(PLUGINS)
clean:
$(RM) $(PLUGINS)
|