-rw-r--r-- | noncore/net/wellenreiter/libwellenreiter/source/Makefile | 3 |
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 | ||
3 | OBJ = wl_proto.o wl_sock.o wl_log.o wl_conf.o cardmode.o sniff.o | 3 | OBJ = wl_proto.o wl_sock.o wl_log.o wl_conf.o cardmode.o sniff.o |
4 | CPP = g++ | 4 | CPP = g++ |
5 | CPPFLAGS = -Wall -pedantic -g -DDEBUG | 5 | CPPFLAGS = -Wall -pedantic -g -DDEBUG |
6 | 6 | ||
7 | %.o : %.cc | ||
8 | $(CPP) $(CPPFLAGS) -c $< -o $@ | ||
9 | |||
7 | static:libwellenreiter.a | 10 | static:libwellenreiter.a |
8 | libwellenreiter.a: $(OBJ) | 11 | libwellenreiter.a: $(OBJ) |
9 | ar -cr libwellenreiter.a $(OBJ) | 12 | ar -cr libwellenreiter.a $(OBJ) |
10 | 13 | ||
11 | shared:libwellenreiter.so | 14 | shared:libwellenreiter.so |
12 | libwellenreiter.so: $(OBJ) | 15 | libwellenreiter.so: $(OBJ) |
13 | $(CPP) $(CPPFLAGS) -shared -o libwellenreiter.so $(OBJ) | 16 | $(CPP) $(CPPFLAGS) -shared -o libwellenreiter.so $(OBJ) |
14 | 17 | ||
15 | clean: | 18 | clean: |
16 | rm -f *.o *.a *.so *~ | 19 | rm -f *.o *.a *.so *~ |
17 | 20 | ||