[asterisk-commits] bweschke: branch 1.2 r58008 - /branches/1.2/channels/h323/Makefile

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Mar 6 08:17:16 MST 2007


Author: bweschke
Date: Tue Mar  6 09:17:16 2007
New Revision: 58008

URL: http://svn.digium.com/view/asterisk?view=rev&rev=58008
Log:
 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


Modified:
    branches/1.2/channels/h323/Makefile

Modified: branches/1.2/channels/h323/Makefile
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/h323/Makefile?view=diff&rev=58008&r1=58007&r2=58008
==============================================================================
--- branches/1.2/channels/h323/Makefile (original)
+++ branches/1.2/channels/h323/Makefile Tue Mar  6 09:17:16 2007
@@ -21,7 +21,8 @@
 OPENH323DIR=$(HOME)/openh323
 endif
 
-include $(OPENH323DIR)/openh323u.mak
+clean:
+	rm -f *.so *.o .depend
 
 $(SOURCES)::	$(SOURCES:.cxx=.cpp)
 	ln -f $< $@
@@ -30,6 +31,7 @@
 	touch $(SOURCES)
 
 libchanh323.a:	$(OBJS)
+	include $(OPENH323DIR)/openh323u.mak
 	ar crv $@ $(OBJS)
 
 Makefile.ast:	FORCE



More information about the asterisk-commits mailing list