Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
31d32fb
commit 39a8b5a
Showing
6 changed files
with
246 additions
and
94 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
OBJECTS = minicomputer.o | ||
LIBRARY = libminicomputer.so | ||
TTLS = minicomputer manifest.ttl | ||
CC = gcc | ||
CFLAGS += -std=c99 -Wall -Wextra -fPIC | ||
INSTALLDIR = $(DESTDIR)/usr/lib/lv2/ | ||
INSTALLNAME = minicomputer.lv2/ | ||
$(LIBRARY) : $(OBJECTS) | ||
$(CC) $(CFLAGS) $(OBJECTS) -shared -o $@ | ||
|
||
.SUFFIXES : .c .o | ||
|
||
.c.o: | ||
$(CC) $(CFLAGS) -c $< | ||
|
||
minicomputer.o: minicomputer.c | ||
.PHONY : clean install uninstall | ||
|
||
clean : | ||
rm -f $(LIBRARY) $(OBJECTS) | ||
|
||
install : | ||
mkdir -p $(INSTALLDIR)$(INSTALLNAME) | ||
install $(LIBRARY) $(INSTALLDIR)$(INSTALLNAME) | ||
install -m 644 $(TTLS) $(INSTALLDIR)$(INSTALLNAME) | ||
|
||
uninstall : | ||
rm -rf $(INSTALLDIR)$(INSTALLNAME) |
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,6 +1,6 @@ | ||
@prefix lv2: <http://lv2plug.in/ns/lv2core#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
|
||
<urn:malte.steiner:plugins:minicomputer> a lv2:Plugin; | ||
<urn:malte.steiner:plugins:minicomputer.1> a lv2:Plugin; | ||
lv2:binary <libminicomputer.so> ; | ||
rdfs:seeAlso <minicomputer.ttl> . |
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
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
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
Oops, something went wrong.