From 27326acadb5afed7cd242f3a02c5307667c05b71 Mon Sep 17 00:00:00 2001 From: rekado Date: Sat, 27 Jul 2013 22:46:34 +0800 Subject: find ttl files in $TYPE directory --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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) -- cgit v1.2.3