aboutsummaryrefslogtreecommitdiff
path: root/imagegrid/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'imagegrid/Makefile')
-rwxr-xr-ximagegrid/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/imagegrid/Makefile b/imagegrid/Makefile
index e779a7f..5548c8a 100755
--- a/imagegrid/Makefile
+++ b/imagegrid/Makefile
@@ -1,4 +1,4 @@
-PD_SRC=../../src
+PD_SRC=../../../pd/src
NAME=imagegrid
CSYM=imagegrid
@@ -19,11 +19,12 @@ LINUXCFLAGS = -fPIC -DPD -DUNIX -DICECAST -O2 -funroll-loops -fomit-frame-pointe
LINUXINCLUDE = -I$(PD_SRC) -I/usr/include/
.c.pd_linux:
- cc -fPIC -c -ansi -O -Wall -Wmissing-prototypes cua.c
- cc -fPIC -c -ansi -O -Wall -Wmissing-prototypes magickconverter.c
-# ./tk2c.bash < $*.tk > $*.tk2c
+# cc -fPIC -c -ansi -O -Wall -Wmissing-prototypes cua.c
+# cc -fPIC -c -ansi -O -Wall -Wmissing-prototypes magickconverter.c
+# ./tk2c.sh < $*.tk > $*.tk2c
cc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
- ld -export_dynamic -shared -o $*.pd_linux $*.o cua.o magickconverter.o -lc -lm -lMagick `Wand-config --ldflags --libs`
+# ld -export_dynamic -shared -o $*.pd_linux $*.o cua.o magickconverter.o -lc -lm -lMagick `Wand-config --ldflags --libs`
+ ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm -lMagick `Wand-config --ldflags --libs`
strip --strip-unneeded $*.pd_linux
rm -f $*.o ../$*.pd_linux
ln -s $*/$*.pd_linux ..
@@ -31,7 +32,7 @@ LINUXINCLUDE = -I$(PD_SRC) -I/usr/include/
# ----------------------------------------------------------
install:
- cp *-help.pd ../../doc/5.reference
+ cp *-help.pd ../../../doc/5.reference
clean:
rm -f *.o *.pd_* so_locations