mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-27 15:33:55 +01:00
defs-orig.mk: Supply gcc version macros
This commit is contained in:
parent
a1b880f695
commit
8e6f57c05b
1 changed files with 5 additions and 0 deletions
|
|
@ -91,6 +91,11 @@ RM = rm
|
||||||
AR = ar
|
AR = ar
|
||||||
INSTALL = install
|
INSTALL = install
|
||||||
|
|
||||||
|
GCC_VERSION = $(shell gcc -v 2>&1 | grep version | awk '{ print $3;}')
|
||||||
|
GCC_MAJOR = $(shell gcc -v 2>&1 | grep version | awk '{ split($3,a,"."); print a[1];}')
|
||||||
|
GCC_MINOR = $(shell gcc -v 2>&1 | grep version | awk '{ split($3,a,"."); print a[2];}')
|
||||||
|
GCC_REV = $(shell gcc -v 2>&1 | grep version | awk '{ split($3,a,"."); print a[3];}')
|
||||||
|
|
||||||
define make_subdirs
|
define make_subdirs
|
||||||
set -e; for D in $(SUBDIRS) ; do make -C $$D ; done
|
set -e; for D in $(SUBDIRS) ; do make -C $$D ; done
|
||||||
endef
|
endef
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue