aboutsummaryrefslogtreecommitdiff
path: root/pix_preview/Makefile.in
diff options
context:
space:
mode:
authorlluís gómez i bigordà <lluisbigorda@users.sourceforge.net>2007-10-24 20:37:21 +0000
committerlluís gómez i bigordà <lluisbigorda@users.sourceforge.net>2007-10-24 20:37:21 +0000
commit3c050000c6918b77a353583999e6e810aa675fda (patch)
treefc6aab7c92efb156966f5c926517f2f02e7b417e /pix_preview/Makefile.in
This commit was generated by cvs2svn to compensate for changes in r8875,svn2git-root
which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/pdvjtools/; revision=8876
Diffstat (limited to 'pix_preview/Makefile.in')
-rwxr-xr-xpix_preview/Makefile.in37
1 files changed, 37 insertions, 0 deletions
diff --git a/pix_preview/Makefile.in b/pix_preview/Makefile.in
new file mode 100755
index 0000000..42a1168
--- /dev/null
+++ b/pix_preview/Makefile.in
@@ -0,0 +1,37 @@
+PD_DIR = @PD_DIR@
+GEM_DIR = @GEM_DIR@
+
+LIBS = @LIBS@
+GEM2PNM_VERSION = @GEM2PNM_VERSION@
+
+GEM2PNM_DISTRO = /mnt/c/ydegoyon.free.fr/gem2pdp-$(GEM2PNM_VERSION)
+GEM2PNM_TARBALL = $(GEM2PNM_DISTRO).tar.gz
+# build flags
+
+GEM2PNM_INCLUDE = -I$(PD_DIR)/src -I. -I$(GEM_DIR)/src -I$(PD_DIR)/src
+GEM2PNM_CPPFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math \
+ -Wall -W -Wno-unused -Wno-parentheses -Wno-switch \
+ -DGEM2PNM_VERSION=\"$(GEM2PNM_VERSION)\" -g
+
+all: pix_preview.pd_linux
+
+
+pix_preview.pd_linux: pix_preview.o
+ rm -f pix_preview.pd_linux
+ gcc -export_dynamic -shared -o pix_preview.pd_linux pix_preview.o $(LIBS)
+
+clean:
+ rm -f *.o
+ rm -f pix_preview.pd_linux
+
+distro: clean all
+ rm *.o
+
+.cpp.o:
+ g++ $(GEM2PNM_CPPFLAGS) $(GEM2PNM_INCLUDE) -o $*.o -c $*.cpp
+
+.c.o:
+ gcc $(GEM2PNM_CPPFLAGS) $(GEM2PNM_INCLUDE) -o $*.o -c $*.c
+
+install:
+ cp -f --remove-destination *.pd $(PD_DIR)/doc/5.reference