swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Makefile question


From: Paul E. Johnson
Subject: Re: Makefile question
Date: Tue, 28 Mar 2000 08:58:44 -0600

> Assuming you're including:
> 
> include $(SWARMHOME)/etc/swarm/Makefile.appl
> 
> Here's one way:
> 
> SWARMINCLUDES+=-I/usr/local/CVODE/include
> APPLIBS=/usr/local/CVODE/lib/libcvode.a
> 
> The "+=" syntax in SWARMINCLUDES, basically appends the given variable
> to SWARMINCLUDES, without overriding the current variables.  This
> feature may be specific to GNU make, so YMMV.
> 
> Alex

Why is this necessary at all. When I include something from glib, I just
add an include statement
#include <glib.h>
and it works. Is the APPLIBS necessary because his library is not
installed in the ordinary gcc path where it looks for includes and libs?


-- 
Paul E. Johnson                         email: address@hidden
Dept. of Political Science              http://lark.cc.ukans.edu/~pauljohn
University of Kansas                    Office: (785) 864-9086
Lawrence, Kansas 66045                  FAX: (785) 864-5700

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]