[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-user: how to get pcb compiled with -DARC45
- To: geda-user@seul.org
- Subject: gEDA-user: how to get pcb compiled with -DARC45
- From: John Griessen <john_g@cibolo.com>
- Date: Thu, 01 Apr 2004 16:18:33 -0600
- Delivered-to: archiver@seul.org
- Delivered-to: geda-user-outgoing@seul.org
- Delivered-to: geda-user@seul.org
- Delivery-date: Thu, 01 Apr 2004 17:19:10 -0500
- Organization: Cibolo Design
- Reply-to: geda-user@seul.org
- Sender: owner-geda-user@seul.org
I have not found where in a Makefile to set the compiler directive so
this code gets compiled:
====================================
if (XOR (Crosshair.AttachedBox.otherway, abs (wy) > abs (wx)))
{
arc.X = Crosshair.AttachedBox.Point1.X + abs (wy) * SGNZ (wx);
sa = (wx >= 0) ? 0 : 180;
#ifdef ARC45
if (abs (wy) >= 2 * abs (wx))
dir = (SGNZ (wx) == SGNZ (wy)) ? 45 : -45;
else
#endif
====================================
Is this just a generic compile step I don't know? "Help Mr. Wizard...."
Would it go here?
=================
CPPFLAGS = -DPCBLIBDIR=\"${prefix}/share/pcb\" -DPCBTREEDIR=\"${prefix}/share/pcb/newlib\"
CYGPATH_W = echo
DEFS = -DHAVE_CONFIG_H -DARC45
DEPDIR = .deps
================
Nahh... I compiled that and it ignored it it seems. Is my syntax correct?
--
John Griessen Cibolo Design Austin Texas