GONGDOL
GONGDOL

Reputation: 11

grammar about Makefile

WINCONFS = WindowsDebugMinGW WindowsReleaseMinGW

$(WINCONFS) : WINTOOLS=CC=gcc.exe CCC=g++.exe CXX=g++.exe AS=as.exe CND_PLATFORM=Cygwin-Windows

WindowsDebugMinGW : BUILDCONF=WindowsDebugMinGW
WindowsReleaseMinGW : BUILDCONF=WindowsReleaseMinGW

Anybody who knows 'a : b=c=d e=f g=h' <=meaning of this grammar ?? Codes are in the same line, no tap commands are added.

Upvotes: 0

Views: 115

Answers (1)

Oliver Charlesworth
Oliver Charlesworth

Reputation: 272467

It's setting the value of $(WINTOOLS) that holds only for those specific targets.

See the documentation about Target-specific variable values.

Upvotes: 1

Related Questions