aboutsummaryrefslogtreecommitdiff
path: root/externals/build/README
blob: ccc691d6c5db74660db6aac33388d0f115d95149 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
PD externals build system
=========================

To build, cd to the platform directory:

cd linux
cd win
cd darwin
cd irix

and type make.





Build System Internals
======================

The build system is actually on top of the  different externals packages
that are in the CVS.

Every external (the source code) is linked into the "src" directory.
In order to be platform independent this is done via c-includes.

Then the build system just tries to build every external that it 
finds in "src".

Problems with this approach:
- it can't be applied to externals that use additional libraries.
- it might be hard for externals that use several source files
  (not always, look at src/ann.c)
- I could not find a way how this should work on windows with nmake ..
  for now I just put the windows links in build/win/*.c ...

Guenter