summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2013-07-27 22:46:34 +0800
committerrekado <rekado@elephly.net>2013-07-27 22:46:34 +0800
commit27326acadb5afed7cd242f3a02c5307667c05b71 (patch)
tree479a98f7744bb6b197ab77bf660654487740dac3 /src
parentb416a14a50fbbbba9145d724d12c0f35916dc68b (diff)
find ttl files in $TYPE directory
Diffstat (limited to 'src')
-rw-r--r--src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 173db4f..49a36a1 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -12,7 +12,7 @@ SOURCES = *.cpp
FLAGS = -fPIC -DPIC -O $(WARNINGS) -D$(BUILD_TYPE)
WARNINGS = -g -Wall -pedantic
-$(BUNDLE): manifest.ttl $(TYPE).ttl $(TYPE).so $(TYPE)/presets $(TYPE)/data/*.raw
+$(BUNDLE): $(TYPE)/manifest.ttl $(TYPE)/$(TYPE).ttl $(TYPE).so $(TYPE)/presets $(TYPE)/data/*.raw
rm -rf $(BUNDLE)
mkdir $(BUNDLE)
cp -r $^ $(BUNDLE)
@@ -20,7 +20,7 @@ $(BUNDLE): manifest.ttl $(TYPE).ttl $(TYPE).so $(TYPE)/presets $(TYPE)/data/*.ra
$(TYPE).so: $(SOURCES) ports.peg
$(CXX) $(FLAGS) -shared $(SOURCES) `pkg-config --cflags --libs lvtk-plugin-1` -o $@
-ports.peg: $(TYPE).ttl
+ports.peg: $(TYPE)/$(TYPE).ttl
ttl2c $^ ports.peg
install: $(BUNDLE)