Rev 859 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 859 | Rev 868 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | F_CPU = 20000000 |
4 | F_CPU = 20000000 |
5 | #------------------------------------------------------------------- |
5 | #------------------------------------------------------------------- |
6 | HAUPT_VERSION = 0 |
6 | HAUPT_VERSION = 0 |
7 | NEBEN_VERSION = 68 |
7 | NEBEN_VERSION = 68 |
8 | VERSION_INDEX = 3 |
8 | VERSION_INDEX = 3 |
- | 9 | MAJOR_DARKMOD = 0 |
|
- | 10 | MINOR_DARKMOD = 1 |
|
Line 9... | Line 11... | ||
9 | 11 | ||
10 | VERSION_KOMPATIBEL = 7 # PC-Kompatibilität |
12 | VERSION_KOMPATIBEL = 7 # PC-Kompatibilität |
Line 11... | Line 13... | ||
11 | #------------------------------------------------------------------- |
13 | #------------------------------------------------------------------- |
Line 42... | Line 44... | ||
42 | FORMAT = ihex |
44 | FORMAT = ihex |
Line 43... | Line 45... | ||
43 | 45 | ||
Line 44... | Line 46... | ||
44 | # Target file name (without extension). |
46 | # Target file name (without extension). |
45 | 47 | ||
46 | ifeq ($(VERSION_INDEX), 0) |
48 | ifeq ($(VERSION_INDEX), 0) |
47 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(HAUPT_VERSION)_$(NEBEN_VERSION)a |
49 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(HAUPT_VERSION)_$(NEBEN_VERSION)a_DarkMod_$(MAJOR_DARKMOD)_$(MINOR_DARKMOD) |
48 | endif |
50 | endif |
49 | ifeq ($(VERSION_INDEX), 1) |
51 | ifeq ($(VERSION_INDEX), 1) |
50 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(HAUPT_VERSION)_$(NEBEN_VERSION)b |
52 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(HAUPT_VERSION)_$(NEBEN_VERSION)b_DarkMod_$(MAJOR_DARKMOD)_$(MINOR_DARKMOD) |
51 | endif |
53 | endif |
52 | ifeq ($(VERSION_INDEX), 2) |
54 | ifeq ($(VERSION_INDEX), 2) |
53 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(HAUPT_VERSION)_$(NEBEN_VERSION)c |
55 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(HAUPT_VERSION)_$(NEBEN_VERSION)c_DarkMod_$(MAJOR_DARKMOD)_$(MINOR_DARKMOD) |
54 | endif |
56 | endif |
55 | ifeq ($(VERSION_INDEX), 3) |
57 | ifeq ($(VERSION_INDEX), 3) |
56 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(HAUPT_VERSION)_$(NEBEN_VERSION)d |
58 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(HAUPT_VERSION)_$(NEBEN_VERSION)d_DarkMod_$(MAJOR_DARKMOD)_$(MINOR_DARKMOD) |
57 | endif |
59 | endif |
58 | ifeq ($(VERSION_INDEX), 4) |
60 | ifeq ($(VERSION_INDEX), 4) |
59 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(HAUPT_VERSION)_$(NEBEN_VERSION)e |
61 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(HAUPT_VERSION)_$(NEBEN_VERSION)e_DarkMod_$(MAJOR_DARKMOD)_$(MINOR_DARKMOD) |
60 | endif |
62 | endif |
61 | ifeq ($(VERSION_INDEX), 5) |
63 | ifeq ($(VERSION_INDEX), 5) |
62 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(HAUPT_VERSION)_$(NEBEN_VERSION)f |
64 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(HAUPT_VERSION)_$(NEBEN_VERSION)f_DarkMod_$(MAJOR_DARKMOD)_$(MINOR_DARKMOD) |
63 | endif |
65 | endif |
64 | ifeq ($(VERSION_INDEX), 6) |
66 | ifeq ($(VERSION_INDEX), 6) |
65 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(HAUPT_VERSION)_$(NEBEN_VERSION)g |
67 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(HAUPT_VERSION)_$(NEBEN_VERSION)g_DarkMod_$(MAJOR_DARKMOD)_$(MINOR_DARKMOD) |
66 | endif |
68 | endif |
67 | ifeq ($(VERSION_INDEX), 7) |
69 | ifeq ($(VERSION_INDEX), 7) |
Line 68... | Line 70... | ||
68 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(HAUPT_VERSION)_$(NEBEN_VERSION)h |
70 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(HAUPT_VERSION)_$(NEBEN_VERSION)h_DarkMod_$(MAJOR_DARKMOD)_$(MINOR_DARKMOD) |
69 | endif |
71 | endif |
70 | 72 | ||
Line 116... | Line 118... | ||
116 | #CFLAGS += -std=c89 |
118 | #CFLAGS += -std=c89 |
117 | #CFLAGS += -std=gnu89 |
119 | #CFLAGS += -std=gnu89 |
118 | #CFLAGS += -std=c99 |
120 | #CFLAGS += -std=c99 |
119 | CFLAGS += -std=gnu99 |
121 | CFLAGS += -std=gnu99 |
Line 120... | Line 122... | ||
120 | 122 | ||
Line 121... | Line 123... | ||
121 | CFLAGS += -DVERSION_HAUPTVERSION=$(HAUPT_VERSION) -DVERSION_NEBENVERSION=$(NEBEN_VERSION) -DVERSION_KOMPATIBEL=$(VERSION_KOMPATIBEL) -DVERSION_INDEX=$(VERSION_INDEX) |
123 | CFLAGS += -DVERSION_HAUPTVERSION=$(HAUPT_VERSION) -DVERSION_NEBENVERSION=$(NEBEN_VERSION) -DVERSION_KOMPATIBEL=$(VERSION_KOMPATIBEL) -DVERSION_INDEX=$(VERSION_INDEX) -DMAJOR_DARKMOD=$(MAJOR_DARKMOD) -DMINOR_DARKMOD=$(MINOR_DARKMOD) |
122 | 124 | ||
123 | 125 |