News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

help me with nmake

Started by Rockphorr, July 14, 2012, 11:37:29 PM

Previous topic - Next topic

Rockphorr



all: all_tune l1 l2 l3 l4
@echo Why is check.txt not update at level 4 ???

all_tune:
folder=z:\_make

l4:  $(folder)\check.txt
@echo level 4
@type $(folder)\check.txt

l3:
@echo bbb222 >> $(folder)\b.txt


l2: $(folder)\check.txt
@echo level 2
@type $(folder)\check.txt


l1: ab
@echo level 1
@type $(folder)\a.txt
@type $(folder)\b.txt

$(folder)\check.txt: $(folder)\a.txt $(folder)\b.txt
@copy $(folder)\a.txt + $(folder)\b.txt $(folder)\check.txt

ab:
@echo aaa111 > $(folder)\a.txt
@echo bbb111 > $(folder)\b.txt


Adamanteus

Because aim already build, so for twice action need to have two aims, one could be pseudoaim :

l4: check
@echo level 4
@type $(folder)\check.txt
check :
@copy $(folder)\a.txt + $(folder)\b.txt $(folder)\check.txt