[Dev OpenGP] [99] Makefile

[ Thread Index | Date Index | More opengp.tuxfamily.org/development Archives ]


Revision: 99
Author:   alband85
Date:     2009-03-26 13:39:42 +0100 (Thu, 26 Mar 2009)

Log Message:
-----------
Makefile

Added Paths:
-----------
    trunk/Makefile


Added: trunk/Makefile
===================================================================
--- trunk/Makefile	                        (rev 0)
+++ trunk/Makefile	2009-03-26 12:39:42 UTC (rev 99)
@@ -0,0 +1,29 @@
+prefix=/usr
+exec_prefix=$(prefix)
+
+PYTHON_LIB=$(prefix)/lib/python2.5
+
+PYTHON=`which python`
+PYTHON_FLAGS=-mcompileall
+OGPLIB=src/lib/ogp
+
+
+all: binaries
+
+binaries:
+	$(PYTHON) $(PYTHON_FLAGS) $(OGPLIB)
+
+install: install-libs
+
+install-libs:
+	@cp -rf $(OGPLIB) ~/tmp
+
+.PHONY: config clean mrproper
+
+config:
+
+
+clean:
+	@echo "Removing .pyc files"
+	@find $(OGPLIB) -name '*.pyc' -exec rm -v '{}' \; -print
+mrproper: clean


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/