]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Cleanup the Makefile so that we only attempt to include a file when we're building...
authorBJ Weschke <bweschke@btwtech.com>
Tue, 6 Mar 2007 15:17:16 +0000 (15:17 +0000)
committerBJ Weschke <bweschke@btwtech.com>
Tue, 6 Mar 2007 15:17:16 +0000 (15:17 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@58008 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/h323/Makefile

index 0e9266164e0fdb0baa2a965d504947f75e38e019..6ce7c2f181b802b631d9a09f2f257ec28aacdccb 100644 (file)
@@ -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