aboutsummaryrefslogtreecommitdiff
path: root/notemono/makefile
diff options
context:
space:
mode:
authorN.N. <federico__@users.sourceforge.net>2007-09-18 17:00:04 +0000
committerN.N. <federico__@users.sourceforge.net>2007-09-18 17:00:04 +0000
commit4b9bb3a0789aac299eacd44bba6d3a5638091d95 (patch)
treea126b93b61a11b7e8c3e829bfc20f1e593fb3ffc /notemono/makefile
new external: notemonosvn2git-root
svn path=/trunk/externals/ffext/; revision=8735
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)