Rev 1431 | Rev 1444 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1431 | Rev 1435 | ||
---|---|---|---|
Line 149... | Line 149... | ||
149 | #CFLAGS += -std=c89 |
149 | #CFLAGS += -std=c89 |
150 | #CFLAGS += -std=gnu89 |
150 | #CFLAGS += -std=gnu89 |
151 | #CFLAGS += -std=c99 |
151 | #CFLAGS += -std=c99 |
152 | CFLAGS += -std=gnu99 |
152 | CFLAGS += -std=gnu99 |
Line 153... | Line 153... | ||
153 | 153 | ||
Line 154... | Line 154... | ||
154 | CFLAGS += -DVERSION_MAJOR=$(VERSION_MAJOR) -DVERSION_MINOR=$(VERSION_MINOR) -DVERSION_PATCH=$(VERSION_PATCH) -DVERSION_SERIAL_MAJOR=$(VERSION_SERIAL_MAJOR) -DVERSION_SERIAL_MINOR=$(VERSION_SERIAL_MINOR) -DNC_SPI_COMPATIBLE=$(NC_SPI_COMPATIBLE) |
154 | CFLAGS += -DF_CPU=$(F_CPU) -DVERSION_MAJOR=$(VERSION_MAJOR) -DVERSION_MINOR=$(VERSION_MINOR) -DVERSION_PATCH=$(VERSION_PATCH) -DVERSION_SERIAL_MAJOR=$(VERSION_SERIAL_MAJOR) -DVERSION_SERIAL_MINOR=$(VERSION_SERIAL_MINOR) -DNC_SPI_COMPATIBLE=$(NC_SPI_COMPATIBLE) |
155 | 155 | ||
156 | 156 | ||
Line 180... | Line 180... | ||
180 | #LDFLAGS += -Wl,-u,vfprintf -lprintf_flt |
180 | #LDFLAGS += -Wl,-u,vfprintf -lprintf_flt |
Line 181... | Line 181... | ||
181 | 181 | ||
182 | # -lm = math library |
182 | # -lm = math library |
Line 183... | Line 183... | ||
183 | LDFLAGS += -lm |
183 | LDFLAGS += -lm |
Line 184... | Line 184... | ||
184 | 184 |