1. create a second target
2. in the second target, instead of pointing it to Us.Prefix.h as the prefix
header file (somewhere in the target settings pane, i forget where), point
it at some Us.Registered.Prefix.h file.
3. the Us.Registered.Prefix.h file can simply contain the following:

#define REGISTERED
#include <us.prefix.h>


----- Original Message -----
From: Ronald Gouldner Jr <[EMAIL PROTECTED]>
To: Palm-Dev-Forum <[EMAIL PROTECTED]>
Sent: Wednesday, July 14, 1999 7:30 PM
Subject: Unregistered/registered Versions


> How can I build two .prc files one registered and one unregistered version
> in Metrowerks ?
>
> I have done this in gcc with a makefile that has two targets on having a
> REGISTERED define and one that does not.  But how can defines be passed
into
> Metrowerks ?  I can't fine a setting on the main target that builds the
prc
> file.
>
> Ron
>
>

Reply via email to