From: BJ Weschke Date: Tue, 6 Mar 2007 15:17:16 +0000 (+0000) Subject: Cleanup the Makefile so that we only attempt to include a file when we're building... X-Git-Tag: 1.2.17~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75ce9f86b8f86f304e8bc7d5bf448dfd45e4d39f;p=thirdparty%2Fasterisk.git Cleanup the Makefile so that we only attempt to include a file when we're building and not 'clean'ing so 'make clean' completes successfully. chan_h323 maintainer: please check to make sure I haven't broken your build target. From: jsmith in #asterisk-dev git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@58008 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/h323/Makefile b/channels/h323/Makefile index 0e9266164e..6ce7c2f181 100644 --- a/channels/h323/Makefile +++ b/channels/h323/Makefile @@ -21,7 +21,8 @@ ifndef OPENH323DIR OPENH323DIR=$(HOME)/openh323 endif -include $(OPENH323DIR)/openh323u.mak +clean: + rm -f *.so *.o .depend $(SOURCES):: $(SOURCES:.cxx=.cpp) ln -f $< $@ @@ -30,6 +31,7 @@ $(SOURCES):: Makefile ../../Makefile touch $(SOURCES) libchanh323.a: $(OBJS) + include $(OPENH323DIR)/openh323u.mak ar crv $@ $(OBJS) Makefile.ast: FORCE