Skip to content
Snippets Groups Projects
Commit 5b3409c5 authored by rswindell's avatar rswindell
Browse files

Using standard macro name for C++ compiler (CXX instead of CCPP).

Using default definitions for these macros if already defined.
parent 59589d8c
No related branches found
No related tags found
No related merge requests found
......@@ -33,21 +33,21 @@ endif
ifdef bcc
CC = bc++ -q
CCPRE := bcc
CCPP = 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
CCPRE ?= gcc
ifdef BUILD_DEPENDS
CC = ../../build/mkdep -a
CCPP = ../../build/mkdep -a
LD = echo
CC = ../../build/mkdep -a
CXX = ../../build/mkdep -a
LD = echo
COMPILE_MSG := Depending
else
CC = gcc
CCPP = g++
LD = ld
CC ?= gcc
CXX ?= g++
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