using nmake wildcards makefile


i am attempting set adult an nmake makefile trade the balsamiq mockup files png files automatically, nonetheless i'm fearful i can't heads nor tails general order doing so, but definitely register files i wish exported.



sum management line syntax exporting files, contains an instance looks contains general order .obj files .exe files.



the makefile i have attempted distant looks this:



.bmml.png:
"c:\program files\balsamiq mockups\balsamiq mockups.exe" trade $< $@


but doesn't work.



if i simply run nmake (with prehistoric png files), nmake only does this:



[c:\temp] :nmake

microsoft (r) way maintain concentration chronicle 9.00.30729.01
copyright (c) microsoft corporation. rights reserved.


[c:\temp] :


if i ask build specific file, does this:



[c:\temp] :nmake "testfile.png"

microsoft (r) way maintain concentration chronicle 9.00.30729.01
copyright (c) microsoft corporation. rights reserved.

nmake : lethal blunder u1073: don't know '"testfile.png"'
stop.

[c:\temp] :


any nmake gurus out there set me straight?



an instance makefile simply creates .dat files .txt files duplicating them, examination with, looks this:



.txt.dat:
duplicate $< $@


this does zero well, clearly i'm bargain such general manners work. i need mention idea above somehow lists files i want?






edit: response new answer:



this makefile:



{}.txt{}.dat:
duplicate $** $@


with record (test.dat)



1
2
3


and command:



nmake test.txt


produces blunder message:



[c:\] :nmake test.txt

microsoft (r) way maintain concentration chronicle 9.00.30729.01
copyright (c) microsoft corporation. rights reserved.

nmake : lethal blunder u1073: don't know 'test.txt'
stop.


Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?