Skip to content
Snippets Groups Projects
Commit 3daaf216 authored by Russell Bryant's avatar Russell Bryant
Browse files

use .PHONY instead of FORCE

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35510 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent e807ea95
Branches
Tags
No related merge requests found
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
# Make file for OpenH323 support layer # Make file for OpenH323 support layer
# #
.PHONY: Makefile.ast
# Verify those options with main Makefile # Verify those options with main Makefile
STDCCFLAGS += -DNDEBUG STDCCFLAGS += -DNDEBUG
STDCCFLAGS += $(shell grep ^DEBUG_THREADS ../../Makefile | sed -e "s/^DEBUG_THREADS[ ]*=//" -e "s/\([^\#]*\)\#.*/\1/") STDCCFLAGS += $(shell grep ^DEBUG_THREADS ../../Makefile | sed -e "s/^DEBUG_THREADS[ ]*=//" -e "s/\([^\#]*\)\#.*/\1/")
...@@ -31,7 +33,7 @@ $(SOURCES):: Makefile ../../Makefile ...@@ -31,7 +33,7 @@ $(SOURCES):: Makefile ../../Makefile
libchanh323.a: $(OBJS) libchanh323.a: $(OBJS)
ar crv $@ $(OBJS) ar crv $@ $(OBJS)
Makefile.ast: FORCE Makefile.ast:
@echo H323CFLAGS = $(STDCCFLAGS) $(OPTCCFLAGS) $(CFLAGS) >$@.tmp @echo H323CFLAGS = $(STDCCFLAGS) $(OPTCCFLAGS) $(CFLAGS) >$@.tmp
@echo H323LDFLAGS = $(CFLAGS) $(LDFLAGS) >>$@.tmp @echo H323LDFLAGS = $(CFLAGS) $(LDFLAGS) >>$@.tmp
@echo H323LDLIBS = $(LDLIBS) $(ENDLDLIBS) $(ENDLDFLAGS) >>$@.tmp @echo H323LDLIBS = $(LDLIBS) $(ENDLDLIBS) $(ENDLDFLAGS) >>$@.tmp
...@@ -39,5 +41,3 @@ Makefile.ast: FORCE ...@@ -39,5 +41,3 @@ Makefile.ast: FORCE
clean:: clean::
rm -f ast_h323.cxx libchanh323.a Makefile.ast *.dep rm -f ast_h323.cxx libchanh323.a Makefile.ast *.dep
FORCE:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment