Rev 78 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | ingob | 1 | # TASKING EDE (Windows based integrated Embedded Development Environment) |
2 | # |
||
3 | # This makefile has been generated by TASKING EDE |
||
4 | # |
||
5 | # Toolchain: TASKING C for C166/ST10 v6.0 r4 |
||
6 | # |
||
7 | |||
8 | BINDIR = c:\c166\bin |
||
9 | INCDIR = c:\c166\include |
||
10 | LIBDIR = c:\c166\lib |
||
11 | |||
12 | M166INC = c:\c166\include |
||
13 | export M166INC |
||
14 | CC166BIN = c:\c166\bin |
||
15 | export CC166BIN |
||
16 | |||
17 | PROJ = avr |
||
18 | PROJDIR = c:\winavr\projects\flug\bl_mc_0_14 |
||
19 | PRODDIR = c:\c166 |
||
20 | OUTDIR = |
||
21 | |||
22 | OPT_CC = -Ic:\c166\include -xmifp -Ms -FFSC -Ot -OB -OE -zautobitastruct-4 -zautobita-0 -zswitch_tabmem_default -s -wstrict -g -zvolatile_union -A1 -O1 |
||
23 | OPT_MPP = DEF(_CPU,167) DEF(_EXT,1) DEF(__XPEN,0) DEF(__WRCFG,0) DEF(__CLKEN,0) DEF(__BYTDIS,0) DEF(__ROMEN,0) DEF(__RDYEN0,0) DEF(__SGTDIS,0) DEF(__STKSZ,0) DEF(__MCTC,1) DEF(__RWDC0,0) DEF(__MTTC0,0) DEF(__ALECTL0,0) DEF(__BUSACT0,1) DEF(__RDYEN0,0) DEF(__CSREN0,0) DEF(__CSWEN0,0) DEF(__BUSACT1,0) DEF(__BUSACT2,0) DEF(__BUSACT3,0) DEF(__BUSACT4,0) DEF(EVA,1) DEF(EX_AB,0) DEF(FLOAT,1) DEF(BIT_INIT,0) DEF(MODEL,SMALL) DEF(_USRSTACK,0) DEF(_SINGLE_FP,0) WA(1) |
||
24 | OPT_AS = PL(60) PW(132) TA(8) WA(1) CHECKCPU16 CHECKBUS18 EX NOM166 SN(reg167.def) |
||
25 | OPT_LC = _avr.ilo -cf -Ms -xmifp |
||
26 | OPT_XVW = --single_instance -tcfg sim167.cfg -i -a 100 -b 200 -c 32 -s 26 |
||
27 | |||
28 | all : "$(PROJ).abs" |
||
29 | |||
30 | "uart.src" : "uart.c" "main.h" "twislave.h" "old_macros.h" "analog.h" "uart.h" "printf_p.h" |
||
31 | "uart.src" : "timer0.h" "ppm_decode.h" |
||
32 | "c:\c166\bin\c166.exe" "uart.c" -f <<EOF |
||
33 | ${separate "\n" $(OPT_CC) } |
||
34 | EOF |
||
35 | |||
36 | "uart.obj" : "uart.src" |
||
37 | "c:\c166\bin\a166.exe" "uart.src" -f <<EOF |
||
38 | ${separate "\n" $(OPT_AS) } |
||
39 | EOF |
||
40 | |||
41 | "analog.src" : "analog.c" "main.h" "twislave.h" "old_macros.h" "analog.h" "uart.h" |
||
42 | "analog.src" : "printf_p.h" "timer0.h" "ppm_decode.h" |
||
43 | "c:\c166\bin\c166.exe" "analog.c" -f <<EOF |
||
44 | ${separate "\n" $(OPT_CC) } |
||
45 | EOF |
||
46 | |||
47 | "analog.obj" : "analog.src" |
||
48 | "c:\c166\bin\a166.exe" "analog.src" -f <<EOF |
||
49 | ${separate "\n" $(OPT_AS) } |
||
50 | EOF |
||
51 | |||
52 | "interrupt4.src" : "interrupt4.c" "main.h" "twislave.h" "old_macros.h" "analog.h" |
||
53 | "interrupt4.src" : "uart.h" "printf_p.h" "timer0.h" "ppm_decode.h" |
||
54 | "c:\c166\bin\c166.exe" "interrupt4.c" -f <<EOF |
||
55 | ${separate "\n" $(OPT_CC) } |
||
56 | EOF |
||
57 | |||
58 | "interrupt4.obj" : "interrupt4.src" |
||
59 | "c:\c166\bin\a166.exe" "interrupt4.src" -f <<EOF |
||
60 | ${separate "\n" $(OPT_AS) } |
||
61 | EOF |
||
62 | |||
63 | "main.src" : "main.c" "main.h" "twislave.h" "old_macros.h" "analog.h" "uart.h" "printf_p.h" |
||
64 | "main.src" : "timer0.h" "ppm_decode.h" |
||
65 | "c:\c166\bin\c166.exe" "main.c" -f <<EOF |
||
66 | ${separate "\n" $(OPT_CC) } |
||
67 | EOF |
||
68 | |||
69 | "main.obj" : "main.src" |
||
70 | "c:\c166\bin\a166.exe" "main.src" -f <<EOF |
||
71 | ${separate "\n" $(OPT_AS) } |
||
72 | EOF |
||
73 | |||
74 | "ppm_decode.src" : "ppm_decode.c" "main.h" "twislave.h" "old_macros.h" "analog.h" |
||
75 | "ppm_decode.src" : "uart.h" "printf_p.h" "timer0.h" "ppm_decode.h" |
||
76 | "c:\c166\bin\c166.exe" "ppm_decode.c" -f <<EOF |
||
77 | ${separate "\n" $(OPT_CC) } |
||
78 | EOF |
||
79 | |||
80 | "ppm_decode.obj" : "ppm_decode.src" |
||
81 | "c:\c166\bin\a166.exe" "ppm_decode.src" -f <<EOF |
||
82 | ${separate "\n" $(OPT_AS) } |
||
83 | EOF |
||
84 | |||
85 | "printf_p.src" : "printf_p.c" "main.h" "twislave.h" "old_macros.h" "analog.h" "uart.h" |
||
86 | "printf_p.src" : "printf_p.h" "timer0.h" "ppm_decode.h" |
||
87 | "c:\c166\bin\c166.exe" "printf_p.c" -f <<EOF |
||
88 | ${separate "\n" $(OPT_CC) } |
||
89 | EOF |
||
90 | |||
91 | "printf_p.obj" : "printf_p.src" |
||
92 | "c:\c166\bin\a166.exe" "printf_p.src" -f <<EOF |
||
93 | ${separate "\n" $(OPT_AS) } |
||
94 | EOF |
||
95 | |||
96 | "timer0.src" : "timer0.c" "main.h" "twislave.h" "old_macros.h" "analog.h" "uart.h" |
||
97 | "timer0.src" : "printf_p.h" "timer0.h" "ppm_decode.h" |
||
98 | "c:\c166\bin\c166.exe" "timer0.c" -f <<EOF |
||
99 | ${separate "\n" $(OPT_CC) } |
||
100 | EOF |
||
101 | |||
102 | "timer0.obj" : "timer0.src" |
||
103 | "c:\c166\bin\a166.exe" "timer0.src" -f <<EOF |
||
104 | ${separate "\n" $(OPT_AS) } |
||
105 | EOF |
||
106 | |||
107 | "twislave.src" : "twislave.c" "main.h" "twislave.h" "old_macros.h" "analog.h" "uart.h" |
||
108 | "twislave.src" : "printf_p.h" "timer0.h" "ppm_decode.h" |
||
109 | "c:\c166\bin\c166.exe" "twislave.c" -f <<EOF |
||
110 | ${separate "\n" $(OPT_CC) } |
||
111 | EOF |
||
112 | |||
113 | "twislave.obj" : "twislave.src" |
||
114 | "c:\c166\bin\a166.exe" "twislave.src" -f <<EOF |
||
115 | ${separate "\n" $(OPT_AS) } |
||
116 | EOF |
||
117 | |||
118 | "$(PROJ).out" : "uart.obj" "analog.obj" "interrupt4.obj" "main.obj" "ppm_decode.obj" |
||
119 | "$(PROJ).out" : "printf_p.obj" "timer0.obj" "twislave.obj" "_avr.ilo" |
||
120 | "c:\c166\bin\cc166.exe" -o $@ -f <<EOF |
||
121 | ${separate "\n" $(match .obj $!) $(match .lno $!) $(match .lib $!) $(OPT_LC)} |
||
122 | EOF |
||
123 | |||
124 | "$(PROJ).abs" : "$(PROJ).out" |
||
125 | "c:\c166\bin\ieee166.exe" $! $@ |
||
126 | |||
127 | # Copyright (c) 2001 Altium, Ltd. |
||
128 | # Serial: 979910-094 |
||
129 | # EDE Version: 2.7 r5 |