From 366873974825866caece917bcaead3348c17931e Mon Sep 17 00:00:00 2001 From: MelwareDE Date: Sun, 11 Sep 2005 15:46:46 +0000 Subject: [PATCH] removed double target rule --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 15ea8d6..050d165 100644 --- a/Makefile +++ b/Makefile @@ -59,6 +59,8 @@ INSTALL=install SHAREDOS=chan_capi.so +OBJECTS=chan_capi.o c20msg.o + CFLAGS+=-Wno-missing-prototypes -Wno-missing-declarations CFLAGS+=-DCRYPTO @@ -69,13 +71,10 @@ clean: rm -f config.h rm -f *.so *.o -%.so : %.o - $(CC) -shared -Xlinker -x -o $@ $< - config.h: ./create_config.sh "$(ASTERISK_HEADER_DIR)" -chan_capi.so: chan_capi.o c20msg.o +chan_capi.so: $(OBJECTS) $(CC) -shared -Xlinker -x -o $@ $^ -lcapi20 install: all