summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/libwellenreiter/source/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/libwellenreiter/source/Makefile b/noncore/net/wellenreiter/libwellenreiter/source/Makefile
index 6663c8a..0017f05 100644
--- a/noncore/net/wellenreiter/libwellenreiter/source/Makefile
+++ b/noncore/net/wellenreiter/libwellenreiter/source/Makefile
@@ -1,17 +1,20 @@
1# $Id$ 1# $Id$
2 2
3OBJ = wl_proto.o wl_sock.o wl_log.o wl_conf.o cardmode.o sniff.o 3OBJ = wl_proto.o wl_sock.o wl_log.o wl_conf.o cardmode.o sniff.o
4CPP = g++ 4CPP = g++
5CPPFLAGS = -Wall -pedantic -g -DDEBUG 5CPPFLAGS = -Wall -pedantic -g -DDEBUG
6 6
7%.o : %.cc
8 $(CPP) $(CPPFLAGS) -c $< -o $@
9
7 static:libwellenreiter.a 10 static:libwellenreiter.a
8libwellenreiter.a: $(OBJ) 11libwellenreiter.a: $(OBJ)
9 ar -cr libwellenreiter.a $(OBJ) 12 ar -cr libwellenreiter.a $(OBJ)
10 13
11 shared:libwellenreiter.so 14 shared:libwellenreiter.so
12libwellenreiter.so: $(OBJ) 15libwellenreiter.so: $(OBJ)
13 $(CPP) $(CPPFLAGS) -shared -o libwellenreiter.so $(OBJ) 16 $(CPP) $(CPPFLAGS) -shared -o libwellenreiter.so $(OBJ)
14 17
15clean: 18clean:
16 rm -f *.o *.a *.so *~ 19 rm -f *.o *.a *.so *~
17 20