Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1186 | savelij | 1 | # ------------------------------------------------------------------------- |
2 | # choose your compiler (must be ANSI-compliant!) and linker command, plus |
||
3 | # any additionally needed flags. Also set target directory and file extensions: |
||
4 | |||
5 | # ...for host-side build tools: |
||
6 | |||
7 | OBJDIR = |
||
8 | CC = cc |
||
9 | CFLAGS = -O3 |
||
10 | HOST_OBJEXTENSION = .o |
||
11 | LD = $(CC) |
||
12 | LDFLAGS = |
||
13 | HOST_EXEXTENSION = |
||
14 | |||
15 | # ...for the actual build targets. This is the simple case for no cross-build: |
||
16 | |||
17 | TARG_OBJDIR = $(OBJDIR) |
||
18 | TARG_CC = $(CC) |
||
19 | TARG_CFLAGS = $(CFLAGS) |
||
20 | TARG_OBJEXTENSION = $(HOST_OBJEXTENSION) |
||
21 | TARG_LD = $(LD) |
||
22 | TARG_LDFLAGS = $(LDFLAGS) |
||
23 | TARG_EXEXTENSION = $(HOST_EXEXTENSION) |
||
24 | |||
25 | # ------------------------------------------------------------------------- |
||
26 | # directories where binaries, includes, and manpages should go during |
||
27 | # installation |
||
28 | |||
29 | BINDIR = /usr/local/bin |
||
30 | INCDIR = /usr/local/include/asl |
||
31 | MANDIR = /usr/local/man |
||
32 | LIBDIR = |
||
33 | DOCDIR = /usr/local/doc/asl |