blob: 85fe1522e8766afa5cd7c8260f50b501aea12362 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
.PHONY: all clean
BACKENDS = artnet.so midi.so osc.so loopback.so evdev.so sacn.so
CFLAGS += -fPIC -I../
LDFLAGS += -shared
midi.so: LDLIBS = -lasound
evdev.so: CFLAGS += $(shell pkg-config --cflags libevdev)
evdev.so: LDLIBS = $(shell pkg-config --libs libevdev)
%.so :: %.c %.h
$(CC) $(CFLAGS) $(LDLIBS) $< -o $@ $(LDFLAGS)
all: $(BACKENDS)
clean:
$(RM) $(BACKENDS)
|