ftp.nice.ch/pub/next/developer/resources/classes/misckit/MiscKit.1.10.0.s.gnutar.gz#/MiscKit/Examples/generate-makefile

Makefile
 
README
 
generate-makefile.m
[View generate-makefile.m] 

README

This is a program donated by Darcy Brockbank for playing with ProjectBuilder Makefiles--it lets you add a class to the project and Makefile without having to actually launch ProjectBuilder.  If all you have to do is add a single class, this can make things go a lot quicker!

---
Later,

-Don Yacktman
Don_Yacktman@byu.edu


Here's the text of the original message that included this mini-app:

----------------------------------------------------------------------

So, I was sitting here today, pissed at Project Builder. I really think it's
clunky, and it bugs me that I have to start the app, go through an open panel,
find a class file, add it to the project, save the project, and quit the
app, when all I should be doing is editing a makefile.

What I usually do is edit the PB.project file by hand, then edit the
makefile by hand, when I want to add a class, because I find that this
is faster, and I don't ever have to start project builder.

I decided that I should file a bug report to NeXT. A suggestion that they 
make a little command-line program to do this. About 10 minutes later, I
thought to myself, "Who am I fooling? As *if* they'll ever make something
like that."

So, I sat down and made it. There's two basic usages at the moment. You
run it with the M file(s) you want added as arguments. It adds them to
the PB.project file, and then generates a Makefile. Both PB.project and
Makefile are backed up to PB.project~ and Makefile~. It would be nice
if someone with extensive free time would add switches so you can 
control where the arguments get placed (right now you can only add to
the CLASSES, though it's pretty simple (about 10 seconds of work) to add
functions which can add to the other sections.

If you run it with no arguments, it just generates the Makefile. I've
tested it out both with bundles and applications, and it seems to work
fine. It makes use of the MiscKit, so I intend to donate it (if Don
doesn't already have something like this) as an example of MiscString
and MiscParseTable*.  You'll also need to have the MiscKit in order to
compile it.

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.