aboutsummaryrefslogtreecommitdiff
path: root/notemono/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'notemono/makefile')
-rw-r--r--notemono/makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/notemono/makefile b/notemono/makefile
new file mode 100644
index 0000000..1bf18aa
--- /dev/null
+++ b/notemono/makefile
@@ -0,0 +1,28 @@
+PD-PATH=/usr/lib/pd
+PD-SCR=/usr/include
+
+
+INCLUDE=-I$(PD-SCR) -I.
+LIB=-lc -lm
+CC_FLAGS = -DPD -c -Wall
+LD_FLAGS = --export-dynamic -shared -o
+
+
+TARGET=notemono.pd_linux
+OBJ=notemono.o
+#--------------------------------------------------------
+
+all: pd_linux
+
+pd_linux: $(TARGET)
+
+$(TARGET): $(OBJ)
+ $(LD) $(LD_FLAGS) $(TARGET) $(OBJ) $(LIB)
+ strip --strip-unneeded $(TARGET)
+ chmod 755 $(TARGET)
+
+.c.o:
+ $(CC) $(CC_FLAGS) $(INCLUDE) $<
+
+clean:
+ rm -f $(OBJ) $(TARGET)