projects
/
pyiw
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initial commit for debian packaging
[pyiw]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
45b7f35
..
7aeb755
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-2,12
+2,12
@@
NAME = pyiw
GCC = gcc -Wall
NAME = pyiw
GCC = gcc -Wall
-FLAGS = -I/usr/include/python2.4 -I/home/cubicool/local/include
-LIBS = -liw -L/home/cubicool/local/lib
+FLAGS = -I/usr/include/python2.6 -Istaticlibiw
+LIBS = -liw
static: pyiw.c
@echo "Statically Building/Linking $(NAME)"
static: pyiw.c
@echo "Statically Building/Linking $(NAME)"
- @$(GCC) $(FLAGS) -Istaticlibiw $(<) -shared -o $(NAME).so staticlibiw/libiw.a
+ @$(GCC) $(FLAGS) $(<) -shared -o $(NAME).so staticlibiw/libiw.a
dynamic: pyiw.c
@echo "Dynamically Building/Linking $(NAME)"
dynamic: pyiw.c
@echo "Dynamically Building/Linking $(NAME)"