Thread: ---What the double colon(::) mean in makefile
1 include config.mk
2 quiet?=true
3 ifeq ($(target),)
4 .default:
5 @for t in $(all_targets); \
6 $(make) --no-print-directory target=$$t $(makecmdgoals) || exit $$?;\
7 done
8 all: .default
9 clean:: .default
10 install:: .default
know double colon mean in makefile?
indeed!
make has little used feature signified double colon :: . tells make associate more 1 action target. normally, single colon : , can have multiple target , prerequisites map dependencies, 1 of them can have associated action.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [all variants] ---What the double colon(::) mean in makefile
Ubuntu
Comments
Post a Comment