summaryrefslogtreecommitdiff
Side-by-side diff
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 @@
# $Id$
OBJ = wl_proto.o wl_sock.o wl_log.o wl_conf.o cardmode.o sniff.o
CPP = g++
CPPFLAGS = -Wall -pedantic -g -DDEBUG
+%.o : %.cc
+ $(CPP) $(CPPFLAGS) -c $< -o $@
+
static: libwellenreiter.a
libwellenreiter.a: $(OBJ)
ar -cr libwellenreiter.a $(OBJ)
shared: libwellenreiter.so
libwellenreiter.so: $(OBJ)
$(CPP) $(CPPFLAGS) -shared -o libwellenreiter.so $(OBJ)
clean:
rm -f *.o *.a *.so *~