News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

learn nmake.exe?

Started by UtillMasm, May 12, 2009, 03:41:05 AM

Previous topic - Next topic

UtillMasm

Linenumber
  1
     subargs=/$(MAKEFLAGS) ntos=$(MAKEDIR) pub=$(MAKEDIR)\..\..\public
  2
     subargs  = $(subargs) targ=i386   topobj=$(MAKEDIR)\BUILD\obji386
  3
     modules = rtl config
  4
     buildtargets = $(modules: =.build ).build
  5
     default: $(buildtargets)
  6
     $(buildtargets):
  7
          cd $(MAKEDIR)\$(@R)\BUILD
  8
               @$(MAKE) $(subargs) module=$(@R)

###

My question: what's mean about Line 4? :red

UtillMasm

it's a Macro Substitution.

insert 2 lines before line 7:
     @echo $(modules: =.build )
     @echo $(buildtargets)

haHa! it's so easy, but has drive me carazy! :green


UtillMasm

#3
thanks.
but it looks too new :wink.

no, that's not the reason.
the real reason is, 'i cann't understand microsoft english.'.  :toothy