Hi I am reading a book called windows assembly language and systems programming (a very good book at that), the thing is im trying to learn how to do windows make files and the example is like so:
[file skeleton.mak]
fn = skeleton
all:$(fn) .exe
$(fn).obj : $(fn).asm
masm $(fn);
$(fn).res : $(fn).r c
rc -r $(fn).rc
$(fn).exe : $(fn) .obj $(fn) .def $(fn) .res
link $(fn) /NOD, , , libw , $(fn).def
rc $(fn).res
and I get a SKELETON.mak(9) : fatal error U1034: syntax error : separator missing
Stop.
I have googled this but It said something about putting a colon in between targets and dependants , this wasnt very helpful as im just new to makefiles .......it looks like perl syntax , im not sure but perl or the alike languages are ones i have never studied.......anyway any way to fix this would really help.
I have files
skeleton.aps .asm .def .rc .mak
[file skeleton.mak]
fn = skeleton
all:$(fn) .exe
$(fn).obj : $(fn).asm
masm $(fn);
$(fn).res : $(fn).r c
rc -r $(fn).rc
$(fn).exe : $(fn) .obj $(fn) .def $(fn) .res
link $(fn) /NOD, , , libw , $(fn).def
rc $(fn).res
and I get a SKELETON.mak(9) : fatal error U1034: syntax error : separator missing
Stop.
I have googled this but It said something about putting a colon in between targets and dependants , this wasnt very helpful as im just new to makefiles .......it looks like perl syntax , im not sure but perl or the alike languages are ones i have never studied.......anyway any way to fix this would really help.
I have files
skeleton.aps .asm .def .rc .mak