mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-11 15:35:39 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user