Makefile: remove more deferred variables
[cdsspec-compiler.git] / common.mk
index 9fe9f09745c73ef0f75e3776c9d09c4a6b58c3d0..bc068dff1fb1e559b4aafb9b01881028c28b615a 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -1,12 +1,12 @@
 # A few common Makefile items
 
 # A few common Makefile items
 
-CC = gcc
-CXX = g++
+CC := gcc
+CXX := g++
 
 
-UNAME = $(shell uname)
+UNAME := $(shell uname)
 
 
-LIB_NAME = model
-LIB_SO = lib$(LIB_NAME).so
+LIB_NAME := model
+LIB_SO := lib$(LIB_NAME).so
 
 CPPFLAGS += -Wall -g -O3
 
 
 CPPFLAGS += -Wall -g -O3