Pelles C forum

Pelles C => Bug reports => Topic started by: modalsist on March 05, 2008, 08:55:46 PM

Title: Pomake 5.00 - don't know how to make ALL
Post by: modalsist on March 05, 2008, 08:55:46 PM
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
Title: Re: Pomake 5.00 - don't know how to make ALL
Post by: Pelle on March 06, 2008, 04:16:33 PM
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...
Title: Re: Pomake 5.00 - don't know how to make ALL
Post by: modalsist on March 10, 2008, 02:46:03 PM
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
Title: Re: Pomake 5.00 - don't know how to make ALL
Post by: Pelle on March 12, 2008, 06:01:16 PM
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...)
Title: Re: Pomake 5.00 - don't know how to make ALL
Post by: modalsist on March 15, 2008, 03:51:13 PM
OK, Thanks !

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

regards,
Eduardo
Title: Re: Pomake 5.00 - don't know how to make ALL
Post by: Pelle on March 18, 2008, 02:31:05 PM
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).