diff options
author | cbdev <cb@cbcdn.com> | 2018-03-01 17:51:48 +0100 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2018-03-01 17:51:48 +0100 |
commit | 42273a1b62d9653bbbeaff5c7646117d8b55d78a (patch) | |
tree | 219848d2f5f95d2b67f54782fa649a346ba67e70 /makefile | |
parent | ffdf87abd2acbad9501d8662fdc54c505a45ad52 (diff) | |
download | midimonster-42273a1b62d9653bbbeaff5c7646117d8b55d78a.tar.gz midimonster-42273a1b62d9653bbbeaff5c7646117d8b55d78a.tar.bz2 midimonster-42273a1b62d9653bbbeaff5c7646117d8b55d78a.zip |
Rename makefile
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/makefile b/makefile deleted file mode 100644 index 5f403ac..0000000 --- a/makefile +++ /dev/null @@ -1,36 +0,0 @@ -.PHONY: all clean run sanitize -BACKENDS = artnet.so midi.so osc.so loopback.so evdev.so sacn.so -OBJS = config.o backend.o plugin.o -PLUGINDIR = "\"./\"" - -CFLAGS ?= -g -Wall -#CFLAGS += -DDEBUG -%.so: CFLAGS += -fPIC -%.so: LDFLAGS += -shared - -midimonster: LDLIBS = -ldl -midimonster: CFLAGS += -DPLUGINS=$(PLUGINDIR) -midimonster: LDFLAGS += -Wl,-export-dynamic -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: midimonster $(BACKENDS) - -midimonster: midimonster.c $(OBJS) - -clean: - $(RM) midimonster - $(RM) $(OBJS) - $(RM) $(BACKENDS) - -run: - valgrind --leak-check=full --show-leak-kinds=all ./midimonster - -sanitize: CC = clang -sanitize: CFLAGS = -g -Wall -Wpedantic -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer -sanitize: midimonster $(BACKENDS) |