summaryrefslogtreecommitdiff
authormjm <mjm>2003-02-12 18:53:34 (UTC)
committer mjm <mjm>2003-02-12 18:53:34 (UTC)
commit421f7d634a3b5d343834cfa1410d674ff78cf5b8 (patch) (side-by-side diff)
tree6c0889f530d95b258964f491c404297f4282c8ef
parent72e88174a2e32de400de0a7109407574650f5321 (diff)
downloadopie-421f7d634a3b5d343834cfa1410d674ff78cf5b8.zip
opie-421f7d634a3b5d343834cfa1410d674ff78cf5b8.tar.gz
opie-421f7d634a3b5d343834cfa1410d674ff78cf5b8.tar.bz2
new compiler flags
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 *~