Skip to content
Snippets Groups Projects
Commit 3d791463 authored by rswindell's avatar rswindell
Browse files

Don't use default compiler if bcc is defined on command-line.

parent 5b3409c5
No related branches found
No related tags found
No related merge requests found
......@@ -38,23 +38,23 @@ else
endif
ifdef bcc
CC ?= bc++ -q
CC = bc++ -q
CCPRE := bcc
CXX ?= bc++ -q
CXX = bc++ -q
LD = ilink -q
CFLAGS += -mm -md -D__unix__ -w-csu -w-pch -w-ccc -w-rch -w-par -w-aus
else
CFLAGS += -MMD -Wall
CCPRE ?= gcc
ifdef BUILD_DEPENDS
CC = ../build/mkdep -a
CC = ../build/mkdep -a
CXX = ../build/mkdep -a
LD = echo
LD = echo
COMPILE_MSG := Depending
else
CC ?= gcc
CC ?= gcc
CXX ?= g++
LD ?= ld
LD ?= ld
COMPILE_MSG := Compiling
endif
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment