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
1.2
BJ Weschke 19 years ago
parent 58818031b1
commit 75ce9f86b8

@ -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

Loading…
Cancel
Save