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