You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
402 B
15 lines
402 B
|
|
# Automagically pick clang or gcc, with preference for clang |
|
# This is only done if we have not overridden these with an environment or CLI variable |
|
ifeq ($(origin CC),default) |
|
CC=$(shell if [ -e /usr/bin/clang ]; then echo clang; else echo gcc; fi) |
|
endif |
|
ifeq ($(origin CXX),default) |
|
CXX=$(shell if [ -e /usr/bin/clang++ ]; then echo clang++; else echo g++; fi) |
|
endif |
|
|
|
|
|
|
|
all: |
|
|
|
static_lib: $(OBJS)
|
|
|