aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Schouten <doelie@users.sourceforge.net>2003-01-21 10:18:19 +0000
committerTom Schouten <doelie@users.sourceforge.net>2003-01-21 10:18:19 +0000
commitcdf8ded57019d5c905f16422d40be7b1a18ab3bc (patch)
tree92623f40f305b1e2f51198d5c16893c7ca70a2c6 /Makefile
This commit was generated by cvs2svn to compensate for changes in r350,svn2git-root
which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/creb/; revision=351
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile49
1 files changed, 49 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..d03e9f8
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,49 @@
+include Makefile.config
+
+CREB_DISTRO = $(CREB_DIR)/../creb-$(CREB_VERSION)
+CREB_TARBALL = $(CREB_DISTRO).tar.gz
+CREB_WWWDIR = /net/zwizwa/www/zwizwa.fartit.com/pd/creb
+
+LIBNAME=creb.pd_linux
+
+current:
+ make -C system
+ make -C modules
+ make -C modules++
+
+ rm -f $(LIBNAME)
+ $(CPLUSPLUS) -export_dynamic -shared -o $(LIBNAME) system/*.o modules/*.o modules++/*.o -lm
+ strip --strip-unneeded $(LIBNAME)
+
+clean:
+ make -C include clean
+ make -C modules clean
+ make -C modules++ clean
+ make -C system clean
+ rm -f $(LIBNAME)
+ rm -f *~
+
+tags:
+ etags --language=auto include/*.h system/*.c modules/*.c modules++/*.cpp
+
+tagsclean:
+ rm -f TAGS
+
+
+distro: clean
+ rm -rf $(CREB_DISTRO)
+ mkdir $(CREB_DISTRO)
+ cp -av $(CREB_DIR)/* $(CREB_DISTRO)
+ rm -rf $(CREB_DISTRO)/CVS
+ rm -rf $(CREB_DISTRO)/*/CVS
+ rm -rf $(CREB_DISTRO)/*/*/CVS
+ rm -rf $(CREB_DISTRO)/*/*.o
+ rm -rf $(CREB_DISTRO)/*/TAGS
+ cd $(CREB_DISTRO)/.. && tar vczf creb-$(CREB_VERSION).tar.gz creb-$(CREB_VERSION)
+ rm -rf $(CREB_DISTRO)
+
+www: $(PDP_TARBALL)
+ cp -av $(CREB_TARBALL) $(CREB_WWWDIR)
+ cp -av $(CREB_DIR)/README $(CREB_WWWDIR)/README.txt
+ cp -av $(CREB_DIR)/doc/reference.txt $(CREB_WWWDIR)
+