equal
deleted
inserted
replaced
277 # Check if there is a windres override |
277 # Check if there is a windres override |
278 ifndef WINDRES |
278 ifndef WINDRES |
279 WINDRES = windres |
279 WINDRES = windres |
280 endif |
280 endif |
281 |
281 |
|
282 # Check if CC_HOST is defined. If not, it is CC |
|
283 ifndef CC_HOST |
|
284 CC_HOST = $(CC) |
|
285 endif |
|
286 ifndef CFLAGS_HOST |
|
287 CFLAGS_HOST = $(BASECFLAGS) |
|
288 endif |
|
289 |
282 # Check if we have a new target |
290 # Check if we have a new target |
283 ifdef CC_TARGET |
291 ifdef CC_TARGET |
284 CC = $(CC_TARGET) |
292 CC = $(CC_TARGET) |
285 endif |
293 endif |
286 |
|
287 # Check if CC_HOST is defined. If not, it is CC |
|
288 ifndef CC_HOST |
|
289 CC_HOST = $(CC) |
|
290 endif |
|
291 ifndef CFLAGS_HOST |
|
292 CFLAGS_HOST = $(BASECFLAGS) |
|
293 endif |
|
294 |
|
295 |
294 |
296 CC_VERSION = $(shell $(CC) -dumpversion | cut -c 1,3) |
295 CC_VERSION = $(shell $(CC) -dumpversion | cut -c 1,3) |
297 |
296 |
298 # GNU make can only test for (in)equality |
297 # GNU make can only test for (in)equality |
299 # this is a workaround to test for >= |
298 # this is a workaround to test for >= |