Hi Gerard,

> But actually I want that the define is also passed at compile time to
> the lib files (file1,file2 and file3).
Because of obvious reasons. ;-)

> Can anyone point me to an example of a Makefile for SDCC with such a
> construction or a hint on how this can be solved?
In my Makefiles I always use different names for the compiled libraries.
The source is shared, though. The advantage is that the libraries don't
have to be recompiled if another target is built.

HTH, Bodo



------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to