DDE27 !Make and clean target
André Timmermans (100) 655 posts |
I just purchased and install DDE27 on my Pi3 and copied a project over from my RiscPC (where an Acorn C/C++ from a decade ago). I had to manually clean the dynamic dependencies in the Acorn Makefile to build it, but it builds OK. On the other hand the clean target doesn’t cleanup the o folder. @.clean: After changing it to “wipe o ~cf” it complains with File ‘:Fatty.$.o’ not found. |
Jeff Doggett (257) 234 posts |
As far as I am aware, !Make is deprecated and !AMU is the way to go. Edit: Changed my mind, that probably won’t work. |
Steve Pampling (1551) 8170 posts |
Plenty of examples of using AMU in the RO source – lots of obey files along the lines of: Dir <Obey$Dir> Leave out the bits you don’t want… What the last line does of course is dictated by the makefile, again lots of examples of makefiles in the RO source tar files. |
Chris Mahoney (1684) 2165 posts |
Yup. To quote page 59 of the Desktop Tools manual:
The examples can be very useful, but I should point out that CModule contains an error – this comment is not directed at Steve :) |
Steve Pampling (1551) 8170 posts |
Er:
:) |
Chris Mahoney (1684) 2165 posts |
I was trying to avoid a “yeah, I know”-type reply since you’d already posted in the linked thread and obviously knew about the problem. |
André Timmermans (100) 655 posts |
I use !Make as a front-end to amu (it runs amu to build a target) just to be easily able to select the target instead of using Obey scripts to for each target. For the make file himself I write it by hand, just paying attention to a few formatting issues that causes !Make to reject the makefile as an invalid project. Now for my cleaning issue I worked around by using instead: |