summaryrefslogtreecommitdiff
path: root/packages/python/python-pyiw-0.3.2/Makefile
diff options
context:
space:
mode:
authorNicolas Ferre <nicolasfr@gmail.com>2006-12-03 21:07:10 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2006-12-03 21:07:10 +0000
commit22c9eea35a98e1c2dd2d413f4066e88277b6c1cb (patch)
tree788a9b12dde16eaaf1f3004597b08f9a78d53ddb /packages/python/python-pyiw-0.3.2/Makefile
parent82266fc0cc7692fcb19d86a62e628727fad32257 (diff)
python-pyiw: added 0.3.2 - close #1635
Diffstat (limited to 'packages/python/python-pyiw-0.3.2/Makefile')
-rw-r--r--packages/python/python-pyiw-0.3.2/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/python/python-pyiw-0.3.2/Makefile b/packages/python/python-pyiw-0.3.2/Makefile
new file mode 100644
index 0000000000..2ea7baec08
--- /dev/null
+++ b/packages/python/python-pyiw-0.3.2/Makefile
@@ -0,0 +1,18 @@
+# Simple Makfile
+
+NAME = pyiw
+LIBS += -liw
+
+#static: pyiw.c
+# @echo "Statically Building/Linking $(NAME)"
+# @$(CC) $(CFLAGS) -Istaticlibiw $(<) -shared -o $(NAME).so staticlibiw/libiw.a
+
+dynamic: pyiw.c
+ @echo "Dynamically Building/Linking $(NAME)"
+ @$(CC) $(CFLAGS) $(LDFLAGS) $(LIBS) $(<) -shared -o $(NAME).so
+
+clean:
+ @rm -rf *.o
+ @rm -rf $(NAME).so
+ @rm -rf $(NAME).so.t*
+