aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVMiklos <vmiklos@frugalware.org>2007-08-21 20:46:27 +0200
committerVMiklos <vmiklos@frugalware.org>2007-08-21 20:46:27 +0200
commitbff265c81bf79b535841ac5774472cb82cd762f0 (patch)
treef2acbc1c1c7e3f4d51319120222cae2a60b2538e
parentdfec37e7eac14102c6d127b77484cf0eb717eea0 (diff)
new prepare and distclean targets
-rw-r--r--skype/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/skype/Makefile b/skype/Makefile
index 00cc533f..2cbf41c8 100644
--- a/skype/Makefile
+++ b/skype/Makefile
@@ -1,14 +1,22 @@
-CFLAGS += $(shell pkg-config --cflags bitlbee) -g -Wall
-LDFLAGS += $(shell pkg-config --libs bitlbee)
+-include config.mak
skype.so: skype.c
- gcc -o skype.so -shared skype.c $(CFLAGS)
+ $(CC) $(CFLAGS) -shared -o skype.so skype.c $(LDFLAGS)
client: client.c
+prepare: configure.ac
+ cp /usr/share/automake/install-sh ./
+ cp /usr/share/aclocal/pkg.m4 aclocal.m4
+ autoconf
+
clean:
rm -f skype.so
+distclean: clean
+ rm -rf autom4te.cache config.log config.mak config.status
+ rm -f configure install-sh aclocal.m4
+
doc: HEADER.html Changelog
HEADER.html: README