Skip to content

Commit

Permalink
Merge pull request #6 from hfiguiere/upstream
Browse files Browse the repository at this point in the history
make install honour the PREFIX
  • Loading branch information
jeremysalwen committed Feb 11, 2022
2 parents 4d9b6cb + 4a86577 commit e5563eb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
@@ -1,9 +1,11 @@
PREFIX ?= /usr
LV2_DIR ?= /lib/lv2
OBJECTS = so-666.o so-kl5.o so-404.o sosynth.o
LIBRARY = libsosynth.so
TTLS = so-666.ttl so-kl5.ttl so-404.ttl manifest.ttl
CC = gcc
CFLAGS += -Wall -O3 -ffast-math -lm `pkg-config --cflags --libs lv2` -fPIC
INSTALLDIR = $(DESTDIR)/usr/lib/lv2/
INSTALLDIR = $(DESTDIR)$(PREFIX)$(LV2_DIR)/
INSTALLNAME = so-synth.lv2/
$(LIBRARY) : $(OBJECTS)
$(CC) $(CFLAGS) $(OBJECTS) -shared -o $@
Expand Down

0 comments on commit e5563eb

Please sign in to comment.