---
title: "GNU Make Variables: simple and recursive"
author: "standalone"
date: "2012-04-19T14:17:46Z"
tags: []
categories: ["编程语言"]
slug: "gnu-make-variables-simple-and-recursive"
draft: false
lastmod: "2012-04-19T14:17:46Z"
id: 1490306
url: "https://standalone.iteye.com/blog/1490306"
---

今天有时间看了一下teammate写的makefile,学习了一下，其中发现定义变量的时候用的是=，有的是:=，查了一下发现真的有学问在里面。

这是一篇讲得很清楚的文章：

<http://www.electric-cloud.com/blog/2009/03/23/makefile-performance-shell/>