rename peg file to ports.peg
authorrekado <rekado@elephly.net>
Sat, 27 Jul 2013 14:30:42 +0000 (22:30 +0800)
committerrekado <rekado@elephly.net>
Sat, 27 Jul 2013 14:30:42 +0000 (22:30 +0800)
src/Makefile
src/mdaPiano.h
src/mdaPianoVoice.h

index e9901a4..173db4f 100644 (file)
@@ -17,11 +17,11 @@ $(BUNDLE): manifest.ttl $(TYPE).ttl $(TYPE).so $(TYPE)/presets $(TYPE)/data/*.ra
        mkdir $(BUNDLE)
        cp -r $^ $(BUNDLE)
 
-$(TYPE).so: $(SOURCES) $(TYPE).peg
+$(TYPE).so: $(SOURCES) ports.peg
        $(CXX) $(FLAGS) -shared $(SOURCES) `pkg-config --cflags --libs lvtk-plugin-1` -o $@
 
-$(TYPE).peg: $(TYPE).ttl
-       ttl2c $^ $(TYPE).peg
+ports.peg: $(TYPE).ttl
+       ttl2c $^ ports.peg
 
 install: $(BUNDLE)
        mkdir -p $(INSTALL_DIR)
@@ -29,4 +29,4 @@ install: $(BUNDLE)
        cp -R $(BUNDLE) $(INSTALL_DIR)
 
 clean:
-       rm -rf $(BUNDLE) $(addprefix $(TYPE),.so .peg)
+       rm -rf $(BUNDLE) $(TYPE).so ports.peg
index 5c4475d..de7250d 100644 (file)
@@ -3,7 +3,7 @@
 //See associated .cpp file for copyright and other info
 
 #include "mdaPianoVoice.h"
-#include "mdaPiano.peg"
+#include "ports.peg"
 
 #pragma GCC system_header
 #include <lvtk/synth.hpp>
index 16cc738..34d7018 100644 (file)
@@ -2,7 +2,7 @@
 #define MDA_PIANO_VOICE_H
 
 #include "mdaPianoCommon.h"
-#include "mdaPiano.peg"
+#include "ports.peg"
 
 #pragma GCC system_header
 #include <lvtk/synth.hpp>