forked from pantherb/setBfree
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace reverb with Airwindows MatrixVerb
- Loading branch information
1 parent
83613cf
commit 95880c2
Showing
8 changed files
with
814 additions
and
509 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,14 @@ | ||
MODNAME=Organ Reverb | ||
include ../common.mak | ||
include ../git2lv2.mk | ||
|
||
LOADLIBES = -lm | ||
override CFLAGS+= -fvisibility=hidden | ||
|
||
targets=reverb.o | ||
|
||
LV2NAME=b_reverb | ||
|
||
ifeq ($(LV2AVAIL), yes) | ||
targets+=lv2 | ||
endif | ||
|
||
all: $(targets) | ||
|
||
lv2: manifest.ttl $(LV2NAME)$(LIB_EXT) $(LV2NAME).ttl | ||
|
||
manifest.ttl: | ||
sed "s/@LV2NAME@/$(LV2NAME)/;s/@LIB_EXT@/$(LIB_EXT)/" manifest.ttl.in > manifest.ttl | ||
|
||
$(LV2NAME).ttl: $(LV2NAME).ttl.in Makefile | ||
sed "s/@VERSION@/lv2:microVersion $(LV2MIC) ;lv2:minorVersion $(LV2MIN) ;/g;s/@MODBRAND@/$(MODBRAND)/;s/@MODLABEL@/$(MODLABEL)/" \ | ||
$(LV2NAME).ttl.in > $(LV2NAME).ttl | ||
|
||
$(LV2NAME)$(LIB_EXT): lv2.c reverb.o | ||
$(CC) $(CPPFLAGS) $(CFLAGS) \ | ||
-o $(LV2NAME)$(LIB_EXT) lv2.c reverb.o \ | ||
-shared $(LV2LDFLAGS) $(LDFLAGS) | ||
|
||
%.o: %c %.h ../src/cfgParser.h | ||
|
||
install: $(targets) | ||
ifeq ($(LV2AVAIL)$(INSTALL_EXTRA_LV2), yesyes) | ||
install -d $(DESTDIR)$(lv2dir)/$(LV2NAME) | ||
install -m755 $(LV2NAME)$(LIB_EXT) $(DESTDIR)$(lv2dir)/$(LV2NAME) | ||
install -m644 manifest.ttl $(LV2NAME).ttl $(DESTDIR)$(lv2dir)/$(LV2NAME) | ||
endif | ||
|
||
uninstall: | ||
rm -f $(DESTDIR)$(lv2dir)/$(LV2NAME)/*.ttl | ||
rm -f $(DESTDIR)$(lv2dir)/$(LV2NAME)/$(LV2NAME)$(LIB_EXT) | ||
-rmdir $(DESTDIR)$(lv2dir)/$(LV2NAME) | ||
tests: reverb.h reverb.cpp | ||
clang++ \ | ||
-g \ | ||
-Wall \ | ||
-fsanitize=address,undefined \ | ||
-o tests \ | ||
-DTESTS \ | ||
-I../libs/doctest/doctest \ | ||
reverb.cpp \ | ||
|
||
./tests | ||
|
||
clean: | ||
rm -f *.o manifest.ttl $(LV2NAME)$(LIB_EXT) $(LV2NAME).ttl | ||
|
||
.PHONY: clean all install uninstall lv2 | ||
rm -f tests |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.