NO

Author Topic: Pomake 5.00 - don't know how to make ALL  (Read 3836 times)

modalsist

  • Guest
Pomake 5.00 - don't know how to make ALL
« 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

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: Pomake 5.00 - don't know how to make ALL
« Reply #1 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...
/Pelle

modalsist

  • Guest
Re: Pomake 5.00 - don't know how to make ALL
« Reply #2 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

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: Pomake 5.00 - don't know how to make ALL
« Reply #3 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...)
/Pelle

modalsist

  • Guest
Re: Pomake 5.00 - don't know how to make ALL
« Reply #4 on: March 15, 2008, 03:51:13 PM »
OK, Thanks !

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

regards,
Eduardo

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: Pomake 5.00 - don't know how to make ALL
« Reply #5 on: March 18, 2008, 02:31:05 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