Pomake 5.00 - don't know how to make ALL

Started by modalsist, March 05, 2008, 08:55:46 PM

Previous topic - Next topic

modalsist

Hi,

I have a makefile:

PROJECT = \
   $(PROJ1) \
   $(PROJ2) \
   $(PROJ3)

ALL: $(PROJECT)

Pomake 4.50 runs fine, but pomake 5.00 no. "ALL" is a reserved word ?

regards,
Eduardo

Pelle

This may have to do with the new .phony targets; all (lower case) is automatically considered phony, but I have reserved other variations for now (like ALL and All) in case this is not the desired behaviour.

I will look at this, but if you have a more complete example file I think it would be helpful...
/Pelle

modalsist

OK.

Using .PHONY:ALL works fine.
Thanks !

2) I have found another issue regard macro defined on pomake command line.

Using this command: "pomake /f makefile.pc HB_MT=mt" at command line, the !ifdef preprocessor doesn't recognize this macro. The condition !ifdef HB_MT is false, however the macro was created.

best regards,
Eduardo

Pelle

1) OK - good.

2) Yes, I found this myself the other day. Probably been there for a long time. Interesting coincidence...
I will try to fix it without breaking anything else (which is the challenge here...)
/Pelle

modalsist

OK, Thanks !

Can you add !IF to analyse macro contents on pomake ?

regards,
Eduardo

Pelle

Quote from: modalsist on March 15, 2008, 03:51:13 PM
Can you add !IF to analyse macro contents on pomake ?
Maybe in a future version; only bug-fixes and minor tweaks for v5.00 (otherwise it will never be finished).
/Pelle