18 lines
424 B
Plaintext
18 lines
424 B
Plaintext
LSB_RELEASE = $(shell lsb_release -is)
|
|
LSB_VERSION = $(shell lsb_release -rs)
|
|
ifeq (${LSB_RELEASE}, Ubuntu)
|
|
ifeq ($(shell echo "${LSB_VERSION}>18.04" | bc), 1)
|
|
CC = gcc-4.8
|
|
CPP = g++-4.8
|
|
else
|
|
CC = gcc
|
|
CPP = g++
|
|
endif
|
|
else
|
|
CC = gcc
|
|
CPP = g++
|
|
endif
|
|
VCC = vcs -LDFLAGS -Wl,--no-as-needed -cc $(CC) -cpp $(CPP)\
|
|
-P ${VERDI_HOME}/share/PLI/VCS/LINUX64/novas.tab ${VERDI_HOME}/share/PLI/VCS/LINUX64/pli.a
|
|
|